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

Add default props values to divider

This commit is contained in:
Vasek Mlejnsky 2018-08-17 12:12:55 +02:00
parent fed2c3031a
commit f534e76f64

View File

@ -21,7 +21,7 @@ const Wrapper = styled.div`
`; `;
const Divider = ({ const Divider = ({
textLeft, textRight, borderTop, borderBottom, textLeft, textRight, borderTop = false, borderBottom = false,
}) => ( }) => (
<Wrapper <Wrapper
borderTop={borderTop} borderTop={borderTop}