diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-07 08:05:12 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-07 08:05:12 +0800 |
commit | 4cf6fbc6a3638d21a3e5631cdd7260e12e02e221 (patch) | |
tree | 1a08884deaff39a64640940afcc05fbd0a51ca79 /packages/instant/src | |
parent | 10da1e24e13b728c2837e5360a48fcb2913855a5 (diff) | |
download | dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.gz dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.tar.zst dexon-sol-tools-4cf6fbc6a3638d21a3e5631cdd7260e12e02e221.zip |
fix: use fontSize prop in button
Diffstat (limited to 'packages/instant/src')
-rw-r--r-- | packages/instant/src/components/ui/button.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/button.tsx b/packages/instant/src/components/ui/button.tsx index fe0b7e6c7..b90221bf4 100644 --- a/packages/instant/src/components/ui/button.tsx +++ b/packages/instant/src/components/ui/button.tsx @@ -29,10 +29,9 @@ export const Button = styled(PlainButton)` && { all: initial; box-sizing: border-box; - font-size: 15px; + font-size: ${props => props.fontSize}; font-family: 'Inter UI', sans-serif; font-weight: 600; - font-size: ${props => props.fontSize}; color: ${props => props.fontColor && props.theme[props.fontColor]}; cursor: ${props => (props.isDisabled ? 'default' : 'pointer')}; transition: background-color, opacity 0.5s ease; |