diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-12 20:35:44 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-12 20:35:44 +0800 |
commit | 2bf831132a599e0f4689ac1211e7bacd7e5ddcf2 (patch) | |
tree | 188f310dc3c2b62eaec83c497b8e8fd31c462b24 /packages/website/ts/@next/components | |
parent | 6e62b108a96fe7635f67843729489e3b2054883e (diff) | |
download | dexon-sol-tools-2bf831132a599e0f4689ac1211e7bacd7e5ddcf2.tar.gz dexon-sol-tools-2bf831132a599e0f4689ac1211e7bacd7e5ddcf2.tar.zst dexon-sol-tools-2bf831132a599e0f4689ac1211e7bacd7e5ddcf2.zip |
Fixes icons in rebase (why)
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r-- | packages/website/ts/@next/components/definition.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/definition.tsx b/packages/website/ts/@next/components/definition.tsx index da72fe805..d8bbbd77e 100644 --- a/packages/website/ts/@next/components/definition.tsx +++ b/packages/website/ts/@next/components/definition.tsx @@ -14,6 +14,7 @@ interface Props { isInlineIcon?: boolean; isCentered?: boolean; isWithMargin?: boolean; + icon: string; iconSize?: 'medium' | 'large' | number; title: string; description: React.Node; @@ -23,7 +24,7 @@ interface Props { export const Definition = (props: Props) => ( <Wrap {...props}> <Icon - name="ready-to-build" + name={props.icon} size={props.iconSize || 'medium'} margin={[0, 0, 'default', 0]} /> |