Skip to content

Commit

Permalink
fix playgorund control types
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Dec 22, 2023
1 parent 0a387c0 commit c66bc61
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/drafts/Tooltip/Tooltip.playground.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ export default {
direction: 's',
type: 'description',
},
argTypes: {
text: {control: {type: 'text'}},
direction: {
control: {type: 'radio'},
options: ['n', 'ne', 'e', 'se', 's', 'sw', 'w', 'nw'],
},
type: {
control: false,
},
},
} as Meta<typeof Tooltip>

// Description type, north direction by default
Expand Down

0 comments on commit c66bc61

Please sign in to comment.