From a576c93fbf1e5ba7cc3184668033a6bdf80405a6 Mon Sep 17 00:00:00 2001 From: Sam Ritchie Date: Sat, 7 Jan 2023 09:52:11 -0700 Subject: [PATCH] add stories to npmignore --- docs/advanced/controlled-inputs.md | 2 +- packages/leva/.npmignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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..72695ae9 100644 --- a/packages/leva/.npmignore +++ b/packages/leva/.npmignore @@ -0,0 +1 @@ +stories