diff --git a/lib/components/Button.tsx b/lib/components/Button.tsx index 9295e8c..9b76818 100644 --- a/lib/components/Button.tsx +++ b/lib/components/Button.tsx @@ -151,7 +151,7 @@ export function Button(props: Props) {
{icon && iconPosition !== 'right' && ( >; - export const WithIcon: Story = { args: { - children: 'Submit', icon: 'envelope', }, + + render: (args) => { + return ( + <> + +
+ +
+