From 2844a2bd71dcf1eb17a53992c10129b7496332e0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 31 Oct 2023 17:41:43 +0100 Subject: feat(components): add an Overlay component * add useScrollbarWidth hook * add useScrollLock hook * add a new component to lock scroll with an overlay (it can be useful especially on small screens to prevent background contents to be scrolled) --- src/components/atoms/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/atoms/index.ts') diff --git a/src/components/atoms/index.ts b/src/components/atoms/index.ts index 9791e66..54d8d29 100644 --- a/src/components/atoms/index.ts +++ b/src/components/atoms/index.ts @@ -9,5 +9,6 @@ export * from './links'; export * from './lists'; export * from './loaders'; export * from './notice'; +export * from './overlay'; export * from './sidebar'; export * from './visually-hidden'; -- cgit v1.2.3