diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-09 03:25:25 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-09 03:25:25 +0800 |
commit | 3395b8d095a62e5baa4c049da98b256ce596d6b9 (patch) | |
tree | b9241ba7299fdcc5f7a5e1f17cad7a4a95ae203d /packages/instant/src/components/secondary_button.tsx | |
parent | 88eb642aa543673bde52c1d14fc1f3e92d8b2137 (diff) | |
parent | b388d5496272d535b5c192a7098f4227bb1fb3f2 (diff) | |
download | dexon-0x-contracts-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.gz dexon-0x-contracts-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.zst dexon-0x-contracts-3395b8d095a62e5baa4c049da98b256ce596d6b9.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/dropdown-ui
Diffstat (limited to 'packages/instant/src/components/secondary_button.tsx')
-rw-r--r-- | packages/instant/src/components/secondary_button.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/instant/src/components/secondary_button.tsx b/packages/instant/src/components/secondary_button.tsx index 583058b5b..df0539606 100644 --- a/packages/instant/src/components/secondary_button.tsx +++ b/packages/instant/src/components/secondary_button.tsx @@ -4,7 +4,6 @@ import * as React from 'react'; import { ColorOption } from '../style/theme'; import { Button, ButtonProps } from './ui/button'; -import { Text } from './ui/text'; export interface SecondaryButtonProps extends ButtonProps {} @@ -16,11 +15,11 @@ export const SecondaryButton: React.StatelessComponent<SecondaryButtonProps> = p borderColor={ColorOption.lightGrey} width={props.width} onClick={props.onClick} + fontColor={ColorOption.primaryColor} + fontSize="16px" {...buttonProps} > - <Text fontColor={ColorOption.primaryColor} fontWeight={600} fontSize="16px"> - {props.children} - </Text> + {props.children} </Button> ); }; |