Load plugin styles in Storybook preview

[MAILPOET-2770]
This commit is contained in:
Ján Mikláš
2020-04-29 13:58:03 +02:00
committed by Veljko V
parent ba3fca5103
commit b4a9b942f3

View File

@@ -1,4 +1,7 @@
import React from 'react';
import { addDecorator } from '@storybook/react';
import { withPerformance } from 'storybook-addon-performance';
import '../assets/dist/css/mailpoet-plugin.css';
addDecorator(withPerformance);
addDecorator(story => <div id="wpcontent">{story()}</div>);