title: call React Hooks in global decorator for Storybook
body: <p>I want to call custom react hook for all stories, however, im not sure where to declare.
  The custom hooks I wanna call must be in context provider.</p>
  <p>Are there any ways to declare context provider and custom hooks for all stories?</p>
  <pre class="lang-js prettyprint-override"><code>import React from 'react';
  import { useCustomHooks } from './custom';
  import { ThemeProvider } from 'styled-components';
  
  export const decorators = [
    (Story) =&gt; (
      useCustomHooks() // I wanna call custom hooks here but not working because not in provider
      &lt;ThemeProvider theme=&quot;default&quot;&gt;
        &lt;Story /&gt;
      &lt;/ThemeProvider&gt;
    ),
  ];
  
  </code></pre>