From 77e3ce343a50ffae041728203f32ee867fb715e4 Mon Sep 17 00:00:00 2001
From: Bernard
Date: Thu, 29 Oct 2020 12:23:31 -0500
Subject: [PATCH] [WNMGDS-676] Update help drawer toggle to be a button (#860)
* Update helpdrawer toggle to be transparent button, allow extra props
* Update tests and snaps, move display block to CSS
* update snapshot
* update html example with button
Co-authored-by: Scott Weber
---
.../HelpDrawer/help-drawer.example.html | 6 +--
.../HelpDrawer/HelpDrawerToggle.jsx | 34 +++++++-------
.../HelpDrawer/HelpDrawerToggle.test.jsx | 44 +++++++++++--------
.../HelpDrawerToggle.test.jsx.snap | 25 ++++++-----
.../src/styles/components/_HelpDrawer.scss | 6 +++
5 files changed, 67 insertions(+), 48 deletions(-)
diff --git a/packages/design-system-docs/src/pages/components/HelpDrawer/help-drawer.example.html b/packages/design-system-docs/src/pages/components/HelpDrawer/help-drawer.example.html
index b4103a01fc..58bd87ba91 100644
--- a/packages/design-system-docs/src/pages/components/HelpDrawer/help-drawer.example.html
+++ b/packages/design-system-docs/src/pages/components/HelpDrawer/help-drawer.example.html
@@ -10,9 +10,9 @@
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.