diff --git a/docs/advanced/controlled-inputs.md b/docs/advanced/controlled-inputs.md index 49907ff8..891fe79b 100644 --- a/docs/advanced/controlled-inputs.md +++ b/docs/advanced/controlled-inputs.md @@ -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) diff --git a/packages/leva/.npmignore b/packages/leva/.npmignore index e69de29b..a809fefc 100644 --- a/packages/leva/.npmignore +++ b/packages/leva/.npmignore @@ -0,0 +1 @@ +stories \ No newline at end of file