Skip to content

Commit

Permalink
docs(Toggle): add toggled knob (#10550)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Feb 9, 2022
1 parent c0ca44a commit b9c9920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/Toggle/Toggle-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const toggleProps = () => ({
onChange: action('onChange'),
onToggle: action('onToggle'),
size: select('Field size (size)', sizes, undefined) || undefined,
toggled: boolean('Toggled (toggled)', true),
});

export default {
Expand Down

0 comments on commit b9c9920

Please sign in to comment.