diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-10 19:07:08 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-10 19:07:08 +0800 |
commit | 37a1483359d17525db5f4446723c1d9e16385913 (patch) | |
tree | eed28442e5ef255ba77ea31a97d8541944e9e728 /packages/website/ts/@next/components/icon.tsx | |
parent | 80811c9ccacc646188821b1b31aeaa017e40e9a0 (diff) | |
download | dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.tar dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.tar.gz dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.tar.bz2 dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.tar.lz dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.tar.xz dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.tar.zst dexon-sol-tools-37a1483359d17525db5f4446723c1d9e16385913.zip |
Adds withArrow button
Diffstat (limited to 'packages/website/ts/@next/components/icon.tsx')
-rw-r--r-- | packages/website/ts/@next/components/icon.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/icon.tsx b/packages/website/ts/@next/components/icon.tsx index 60e27f07e..1199efe3f 100644 --- a/packages/website/ts/@next/components/icon.tsx +++ b/packages/website/ts/@next/components/icon.tsx @@ -1,11 +1,10 @@ import * as React from 'react'; import Loadable from 'react-loadable'; import styled from 'styled-components'; -import {getCSSPadding} from 'ts/@next/constants/utilities'; +import {getCSSPadding, PaddingInterface} from 'ts/@next/constants/utilities'; -interface IconProps { +interface IconProps extends PaddingInterface { name: string; - margin?: Array<'small' | 'default' | 'large' | number> | number; size?: 'small' | 'medium' | 'large' | number; } |