aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/definition.tsx3
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]}
/>