Skip to content

Commit

Permalink
Typo in addon-controls documentation
Browse files Browse the repository at this point in the history
There is a number() typo instead of text()
  • Loading branch information
pascaloliv authored Dec 8, 2020
1 parent 5987db4 commit 98e351d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/controls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import { number, text } from '@storybook/addon-knobs';

export const Reflow = () => {
const count = number('Count', 10, { min: 0, max: 100, range: true });
const label = number('Label', 'reflow');
const label = text('Label', 'reflow');
return (
<>
{range(count).map((i) => (
Expand Down

3 comments on commit 98e351d

@tupcuturan35

This comment was marked as abuse.

@tupcuturan35
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tupcuturan35

This comment was marked as duplicate.

Please sign in to comment.