mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-06 11:16:17 +00:00
Merge branch 'styled-components-refactor' of https://github.com/satoshilabs/trezor-wallet into styled-components-refactor
This commit is contained in:
commit
6ac2417534
@ -112,7 +112,7 @@ const IconWrapper = styled.span`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const Button = ({
|
const Button = ({
|
||||||
children, className, text, icon, onClick = () => { }, disabled, isWhite = false, isWebUsb = false, isTransparent = false,
|
children, className, icon, onClick = () => { }, disabled, isWhite = false, isWebUsb = false, isTransparent = false,
|
||||||
}) => (
|
}) => (
|
||||||
<Wrapper
|
<Wrapper
|
||||||
className={className}
|
className={className}
|
||||||
@ -151,7 +151,6 @@ Button.propTypes = {
|
|||||||
color: PropTypes.string,
|
color: PropTypes.string,
|
||||||
size: PropTypes.number,
|
size: PropTypes.number,
|
||||||
}),
|
}),
|
||||||
text: PropTypes.string.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Button;
|
export default Button;
|
@ -138,7 +138,7 @@ export default class RememberDevice extends Component<Props, State> {
|
|||||||
</StyledButton>
|
</StyledButton>
|
||||||
<StyledButton
|
<StyledButton
|
||||||
isWhite
|
isWhite
|
||||||
onClick={event => onRememberDevice(device)}
|
onClick={() => onRememberDevice(device)}
|
||||||
>Remember
|
>Remember
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
</Column>
|
</Column>
|
@ -19,16 +19,16 @@ import * as CONNECT from 'actions/constants/TrezorConnect';
|
|||||||
import type { MapStateToProps, MapDispatchToProps } from 'react-redux';
|
import type { MapStateToProps, MapDispatchToProps } from 'react-redux';
|
||||||
import type { State, Dispatch } from 'flowtype';
|
import type { State, Dispatch } from 'flowtype';
|
||||||
|
|
||||||
import ForgetDevice from 'components/modal/ForgetDevice';
|
import ForgetDevice from 'components/modals/ForgetDevice';
|
||||||
|
|
||||||
import Pin from 'components/modal/Pin';
|
import Pin from 'components/modals/Pin';
|
||||||
import InvalidPin from 'components/modal/InvalidPin';
|
import InvalidPin from 'components/modals/InvalidPin';
|
||||||
import Passphrase from 'components/modal/Passphrase';
|
import Passphrase from 'components/modals/Passphrase';
|
||||||
import PassphraseType from 'components/modal/PassphraseType';
|
import PassphraseType from 'components/modals/PassphraseType';
|
||||||
import ConfirmSignTx from 'components/modal/ConfirmSignTx';
|
import ConfirmSignTx from 'components/modals/ConfirmSignTx';
|
||||||
import ConfirmAddress, { ConfirmUnverifiedAddress } from 'components/modal/ConfirmAddress';
|
import ConfirmAddress, { ConfirmUnverifiedAddress } from 'components/modals/ConfirmAddress';
|
||||||
import RememberDevice from 'components/modal/RememberDevice';
|
import RememberDevice from 'components/modals/RememberDevice';
|
||||||
import DuplicateDevice from 'components/modal/DuplicateDevice';
|
import DuplicateDevice from 'components/modals/DuplicateDevice';
|
||||||
|
|
||||||
|
|
||||||
type OwnProps = { }
|
type OwnProps = { }
|
@ -11,7 +11,7 @@ import type { State, Dispatch } from 'flowtype';
|
|||||||
|
|
||||||
import Header from 'components/Header';
|
import Header from 'components/Header';
|
||||||
import Footer from 'components/Footer';
|
import Footer from 'components/Footer';
|
||||||
import ModalContainer from 'components/modal';
|
import ModalContainer from 'components/modals';
|
||||||
import Notifications from 'components/Notification';
|
import Notifications from 'components/Notification';
|
||||||
import Log from 'components/Log';
|
import Log from 'components/Log';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user