From f13ec430591743632e4aa6d60b2221e2851197a5 Mon Sep 17 00:00:00 2001 From: Rasmus Nielsen Date: Wed, 20 May 2020 14:51:30 +0200 Subject: [PATCH 1/9] initial take --- src/components/sidebar/README.md | 3 ++ src/components/sidebar/package.json | 5 +++ src/components/sidebar/sidebar.js | 6 ++++ src/components/sidebar/sidebar.spec.js | 46 ++++++++++++++++++++++++++ 4 files changed, 60 insertions(+) diff --git a/src/components/sidebar/README.md b/src/components/sidebar/README.md index 7b07ec1970b..587903b830d 100644 --- a/src/components/sidebar/README.md +++ b/src/components/sidebar/README.md @@ -270,6 +270,9 @@ Add a basic backdrop when the side bar is open via the `backdrop` prop. When set sidebar will show an opaque backdrop. Clicking on the backdrop will close the sidebar, unless the `no-close-on-backdrop` prop is set to `true`. +Optionally you can add the `backdrop-transparent` prop. When added the backdrop will be transparent, +but remain clickable. Allowing the user to still close the sidebar by clicking outside of it. + ```html