Skip to content

Commit

Permalink
add stories to npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie committed Jan 7, 2023
1 parent 5e80cd1 commit 3d20d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/controlled-inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See an [example in Storybook](https://leva.pmnd.rs/?path=/story/misc-controlled-

## onChange

`onChange` callback in the schema is called for all changes to the value. Values with `onChange` will no longer cause React to rerender (unless passing an additional `transient` flag set to `false`, see below), so you can use it to efficiently update frequently changing values.
`onChange` callback in the schema is called for all changes to the value. Values with `onChange` will no longer cause React to rerender (unless passing an additional `transient` flag set to `true`, see below), so you can use it to efficiently update frequently changing values.

```jsx
const divRef = React.useRef(null)
Expand Down
1 change: 1 addition & 0 deletions packages/leva/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
stories

0 comments on commit 3d20d7c

Please sign in to comment.