From 0f967813fc188103265cb44dbefde3612b2c38c9 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Tue, 7 Jul 2020 21:56:33 -0700 Subject: [PATCH] chore: Use className from props instead of preview style --- src/components/ReferenceExample.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ReferenceExample.js b/src/components/ReferenceExample.js index 0abcc3bce..ebb78955c 100644 --- a/src/components/ReferenceExample.js +++ b/src/components/ReferenceExample.js @@ -56,9 +56,9 @@ const ReferenceExample = ({ } const Preview = useMemo( - () => () => ( + () => ({ className }) => (