Skip to content

armgit / vaul

Public Imported from GitHub
0

A drawer component for React.

Update README.md

Emil Kowalskic1132f168c4e
diff --git a/README.md b/README.md
index 5e37a00..08db66d 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,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, [example](https://github.com/emilkowalski/vaul/blob/main/website/src/app/layout.tsx#L13).
+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.
### Trigger