From c06b055989a2676a8c5aff85ab6b4de730f11c9e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 17 Oct 2019 14:44:49 +0200 Subject: [PATCH] remove emotion from NoDocs.js --- lib/core/src/client/preview/NoDocs.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/lib/core/src/client/preview/NoDocs.js b/lib/core/src/client/preview/NoDocs.js index a27287c17a91..9394b8b4e4d1 100644 --- a/lib/core/src/client/preview/NoDocs.js +++ b/lib/core/src/client/preview/NoDocs.js @@ -1,27 +1,26 @@ import React from 'react'; -import { styled } from '@storybook/theming'; -const Wrapper = styled.div({ +const wrapper = { fontSize: '14px', letterSpacing: '0.2px', margin: '10px 0', -}); +}; -const Main = styled.div({ +const main = { margin: 'auto', padding: '30px', borderRadius: '10px', background: 'rgba(0,0,0,0.03)', -}); +}; -const Heading = styled.h1({ +const heading = { textAlign: 'center', -}); +}; export const NoDocs = () => ( - -
- No Docs +
+
+

No Docs

Sorry, but there are no docs for the selected story. To add them, set the story's  docs parameter. If you think this is an error: @@ -35,6 +34,6 @@ export const NoDocs = () => ( If the problem persists, check the browser console, or the terminal you've run Storybook from.

-
-
+ + );