diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-02 08:52:15 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-02 08:52:15 +0800 |
commit | ab245fe7dec88c509452dab75fff523c4c4a9461 (patch) | |
tree | fc01a1ee6b3f0bf7851a97dbe0a79c11e1fc53de /packages/instant/src/components/ui/text.tsx | |
parent | 7de33c5dd9842ef0e83eac64c6e42c69608e4ad0 (diff) | |
download | dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.tar dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.tar.gz dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.tar.bz2 dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.tar.lz dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.tar.xz dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.tar.zst dexon-sol-tools-ab245fe7dec88c509452dab75fff523c4c4a9461.zip |
feat: implement basic token selection UI
Diffstat (limited to 'packages/instant/src/components/ui/text.tsx')
-rw-r--r-- | packages/instant/src/components/ui/text.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/instant/src/components/ui/text.tsx b/packages/instant/src/components/ui/text.tsx index fd72f6cc8..cba6e7b20 100644 --- a/packages/instant/src/components/ui/text.tsx +++ b/packages/instant/src/components/ui/text.tsx @@ -18,7 +18,6 @@ export interface TextProps { fontWeight?: number | string; textDecorationLine?: string; onClick?: (event: React.MouseEvent<HTMLElement>) => void; - hoverColor?: string; noWrap?: boolean; display?: string; } @@ -46,9 +45,7 @@ export const Text = ${props => (props.textTransform ? `text-transform: ${props.textTransform}` : '')}; &:hover { ${props => - props.onClick - ? `color: ${props.hoverColor || darken(darkenOnHoverAmount, props.theme[props.fontColor || 'white'])}` - : ''}; + props.onClick ? `color: ${darken(darkenOnHoverAmount, props.theme[props.fontColor || 'white'])}` : ''}; } `; |