Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import { ThemeProvider, createFela } from 'react-fela';
import { Provider as FelaProvider } from 'react-fela';
import { MemoryRouter } from 'react-router';
const ss = document.getElementById('fela') || document.createElement('style');
if (!ss.id) {
ss.id = 'fela';
ss.type = 'text/css';
document.getElementsByTagName('head')[0].appendChild(ss);
}
const renderer = createFela();
export const FelaDecorator = story =>
(
{story()}
);
export const RouterDecorator = story =>
{story()};