1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Switched all other button to children not text

This commit is contained in:
Vladimir Volek 2018-08-30 14:20:42 +02:00
parent 64d5db3e6a
commit 3fcb9dc25f
7 changed files with 12 additions and 16 deletions

View File

@ -55,8 +55,8 @@ class ForgetDevice extends Component {
<H3>Forget { device.instanceLabel }?</H3> <H3>Forget { device.instanceLabel }?</H3>
<StyledP isSmaller>Forgetting only removes the device from the list on the left, your coins are still safe and you can access them by reconnecting your TREZOR again.</StyledP> <StyledP isSmaller>Forgetting only removes the device from the list on the left, your coins are still safe and you can access them by reconnecting your TREZOR again.</StyledP>
<Row> <Row>
<StyledButton onClick={() => this.forget()} text="Forget" /> <StyledButton onClick={() => this.forget()}>Forget</StyledButton>
<StyledButton isWhite onClick={onCancel} text="Don't forget" /> <StyledButton isWhite onClick={onCancel}>Don't forget</StyledButton>
</Row> </Row>
</Wrapper> </Wrapper>
); );

View File

@ -44,9 +44,7 @@ const BrowserNotSupported = () => (
target="_blank" target="_blank"
rel="noreferrer noopener" rel="noreferrer noopener"
> >
<Button <Button>Get Chrome</Button>
text="Get Chrome"
/>
</Link> </Link>
</Browser> </Browser>
<Browser> <Browser>
@ -57,9 +55,7 @@ const BrowserNotSupported = () => (
target="_blank" target="_blank"
rel="noreferrer noopener" rel="noreferrer noopener"
> >
<Button <Button>Get Firefox</Button>
text="Get Firefox"
/>
</Link> </Link>
</Browser> </Browser>

View File

@ -91,9 +91,9 @@ class ConnectDevice extends Component<Props> {
<P>and</P> <P>and</P>
<Button <Button
className="trezor-webusb-button" className="trezor-webusb-button"
text="Check for devices"
isWebUsb isWebUsb
/> >Check for devices
</Button>
</React.Fragment> </React.Fragment>
)} )}
</Wrapper> </Wrapper>

View File

@ -126,8 +126,8 @@ export default class InstallBridge extends Component<Props, State> {
color: colors.WHITE, color: colors.WHITE,
size: 30, size: 30,
}} }}
text={`Download for ${label}`} >Download for {label}
/> </Button>
</Link> </Link>
</DownloadBridgeWrapper> </DownloadBridgeWrapper>
<P> <P>

View File

@ -109,9 +109,9 @@ class DeviceMenu extends Component<Props> {
{isWebUSB(transport) && ( {isWebUSB(transport) && (
<Button <Button
className="trezor-webusb-button" className="trezor-webusb-button"
text="Check for devices"
isWebUsb isWebUsb
/> >Check for devices
</Button>
)} )}
</ButtonWrapper> </ButtonWrapper>
</Wrapper> </Wrapper>

View File

@ -40,7 +40,7 @@ const DeviceSettings = () => (
<StyledH2>Device settings is under construction</StyledH2> <StyledH2>Device settings is under construction</StyledH2>
<P>Please use Bitcoin wallet interface to change your device settings</P> <P>Please use Bitcoin wallet interface to change your device settings</P>
<a href="https://wallet.trezor.io/"> <a href="https://wallet.trezor.io/">
<Button text="Take me to the Bitcoin wallet" /> <Button>Take me to the Bitcoin wallet</Button>
</a> </a>
</Row> </Row>
</Section> </Section>

View File

@ -33,7 +33,7 @@ const Initialize = () => (
<H2>Your device is in not initialized</H2> <H2>Your device is in not initialized</H2>
<StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph> <StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph>
<A href="https://wallet.trezor.io/"> <A href="https://wallet.trezor.io/">
<Button text="Take me to the Bitcoin wallet" /> <Button>Take me to the Bitcoin wallet</Button>
</A> </A>
</Row> </Row>
</Wrapper> </Wrapper>