1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 00:18:07 +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 = ({
children, className, text, icon, onClick = () => { }, disabled, isWhite = false, isWebUsb = false, isTransparent = false,
children, className, icon, onClick = () => { }, disabled, isWhite = false, isWebUsb = false, isTransparent = false,
}) => (
<Wrapper
className={className}
@ -149,7 +149,6 @@ Button.propTypes = {
color: PropTypes.string,
size: PropTypes.number,
}),
text: PropTypes.string.isRequired,
};
export default Button;