mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
11 lines
298 B
JavaScript
11 lines
298 B
JavaScript
import { load, addParameters } from '@storybook/react';
|
|
import { create } from '@storybook/theming/create';
|
|
|
|
addParameters({
|
|
options: {
|
|
theme: create({ colorPrimary: 'hotpink', colorSecondary: 'orangered' }),
|
|
},
|
|
});
|
|
|
|
load(require.context('../src/stories', true, /\.stories\.js$/), module);
|