{"size": 392, "ext": "js", "max_stars_repo_path": ".storybook/preview.js", "max_stars_repo_name": "client-side96/better-content-ui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": ".storybook/preview.js", "max_issues_repo_name": "client-side96/better-content-ui", "max_issues_repo_issues_event_min_datetime": "2020-12-10T12:48:09.000Z", "max_issues_repo_issues_event_max_datetime": "2020-12-10T12:48:09.000Z", "max_forks_repo_path": ".storybook/preview.js", "max_forks_repo_name": "client-side96/better-content-ui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 24.5, "max_line_length": 51, "alphanum_fraction": 0.6198979592}
import React from 'react'
import { addDecorator } from "@storybook/react";
import { ThemeProvider } from "styled-components";
import  { theme } from '../src'
import GlobalStyle from '../src/theme/globalStyles'

addDecorator((story) => (
  <>
    <ThemeProvider theme={theme}>
      <GlobalStyle/>
      <div style={{padding: 10}}>
      {story()}
      </div>
    </ThemeProvider>  
  </>
));