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>
<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>
);

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>