Skip to content

armgit / vaul

Public Imported from GitHub
0

A drawer component for React.

Update props section

Emil Kowalski969c72c0bb58
diff --git a/README.md b/README.md
index 1b99f80..fd24846 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Play around with the examples on codesandbox:
### Root
Contains all parts of a dialog. Use `shouldScaleBackground` to enable background scaling, it requires an element with `[vaul-drawer-wrapper]` data attribute to scale its background.
-Can be controlled with the `value` and `onOpenChange` props. Can be opened by default via `defaultOpen` prop.
+Can be controlled with the `value` and `onOpenChange` props. Can be opened by default via the `open` prop.
Additional props: