Skip to content

Commit

Permalink
fix(chip): add argTypes type for children props in chip
Browse files Browse the repository at this point in the history
Add argTypes type for children props in chip
  • Loading branch information
esraltintas committed Oct 4, 2022
1 parent 7b1bfdc commit 14d2de7
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion packages/chip/src/docs/Component.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ import variantStyles from '!!raw-loader!../styles/variant.module.css';

<!-- Meta -->

<Meta title="Components/Chip" component={Chip} />
<Meta
argTypes={{
children: {
control: 'text',
type: { name: 'string', required: false },
},
}}
title="Components/Chip"
component={Chip}
/>

export const ChipTemplate = args => <Chip {...args} />;

Expand Down

0 comments on commit 14d2de7

Please sign in to comment.