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:
parent
64d5db3e6a
commit
3fcb9dc25f
@ -55,8 +55,8 @@ class ForgetDevice extends Component {
|
||||
<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>
|
||||
<Row>
|
||||
<StyledButton onClick={() => this.forget()} text="Forget" />
|
||||
<StyledButton isWhite onClick={onCancel} text="Don't forget" />
|
||||
<StyledButton onClick={() => this.forget()}>Forget</StyledButton>
|
||||
<StyledButton isWhite onClick={onCancel}>Don't forget</StyledButton>
|
||||
</Row>
|
||||
</Wrapper>
|
||||
);
|
||||
|
@ -44,9 +44,7 @@ const BrowserNotSupported = () => (
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
<Button
|
||||
text="Get Chrome"
|
||||
/>
|
||||
<Button>Get Chrome</Button>
|
||||
</Link>
|
||||
</Browser>
|
||||
<Browser>
|
||||
@ -57,9 +55,7 @@ const BrowserNotSupported = () => (
|
||||
target="_blank"
|
||||
rel="noreferrer noopener"
|
||||
>
|
||||
<Button
|
||||
text="Get Firefox"
|
||||
/>
|
||||
<Button>Get Firefox</Button>
|
||||
</Link>
|
||||
|
||||
</Browser>
|
||||
|
@ -91,9 +91,9 @@ class ConnectDevice extends Component<Props> {
|
||||
<P>and</P>
|
||||
<Button
|
||||
className="trezor-webusb-button"
|
||||
text="Check for devices"
|
||||
isWebUsb
|
||||
/>
|
||||
>Check for devices
|
||||
</Button>
|
||||
</React.Fragment>
|
||||
)}
|
||||
</Wrapper>
|
||||
|
@ -126,8 +126,8 @@ export default class InstallBridge extends Component<Props, State> {
|
||||
color: colors.WHITE,
|
||||
size: 30,
|
||||
}}
|
||||
text={`Download for ${label}`}
|
||||
/>
|
||||
>Download for {label}
|
||||
</Button>
|
||||
</Link>
|
||||
</DownloadBridgeWrapper>
|
||||
<P>
|
||||
|
@ -109,9 +109,9 @@ class DeviceMenu extends Component<Props> {
|
||||
{isWebUSB(transport) && (
|
||||
<Button
|
||||
className="trezor-webusb-button"
|
||||
text="Check for devices"
|
||||
isWebUsb
|
||||
/>
|
||||
>Check for devices
|
||||
</Button>
|
||||
)}
|
||||
</ButtonWrapper>
|
||||
</Wrapper>
|
||||
|
@ -40,7 +40,7 @@ const DeviceSettings = () => (
|
||||
<StyledH2>Device settings is under construction</StyledH2>
|
||||
<P>Please use Bitcoin wallet interface to change your device settings</P>
|
||||
<a href="https://wallet.trezor.io/">
|
||||
<Button text="Take me to the Bitcoin wallet" />
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</a>
|
||||
</Row>
|
||||
</Section>
|
||||
|
@ -33,7 +33,7 @@ const Initialize = () => (
|
||||
<H2>Your device is in not initialized</H2>
|
||||
<StyledParagraph>Please use Bitcoin wallet interface to start initialization process</StyledParagraph>
|
||||
<A href="https://wallet.trezor.io/">
|
||||
<Button text="Take me to the Bitcoin wallet" />
|
||||
<Button>Take me to the Bitcoin wallet</Button>
|
||||
</A>
|
||||
</Row>
|
||||
</Wrapper>
|
||||
|
Loading…
Reference in New Issue
Block a user