1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 17:28:10 +00:00

Removed unused text prop from Button

This commit is contained in:
Vladimir Volek 2018-08-30 14:30:29 +02:00
parent 030cef3827
commit 36673e2889

View File

@ -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}
@ -149,7 +149,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;