Skip to content

Commit

Permalink
fix: improvement the dropdown stories
Browse files Browse the repository at this point in the history
  • Loading branch information
mouracamila committed Apr 15, 2022
1 parent a820f7a commit 1ab98cc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/Dropdown/Dropdown.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,15 @@ const Template: Story<DropdownProps> = (args) => <Dropdown {...args} />;
export const DefaultDropdown = Template.bind({});
DefaultDropdown.storyName = 'Default';
DefaultDropdown.args = {
children: 'Dropdown',
title: 'Dropdown example',
label: 'Dropdown button',
placement: 'auto',
children: (
<>
<Dropdown.Item>Dashboard</Dropdown.Item>
<Dropdown.Item>Settings</Dropdown.Item>
<Dropdown.Item>Earnings</Dropdown.Item>
<Dropdown.Item>Sign out</Dropdown.Item>
</>
),
};

0 comments on commit 1ab98cc

Please sign in to comment.