0.5.0 • Published 6 months ago
@lg-tools/storybook-addon v0.5.0
@lg-tools/storybook-addon
Storybook addon to share configuration in LeafyGreen repositories.
Usage
Install this package, and consume it in your .storybook/ config files.
// .storybook/main.ts
export default {
addons: ['@lg-tools/storybook-addon'],
framework: {
name: '@storybook/react-webpack5',
options: {
fastRefresh: true,
strictMode: true,
},
},
};Most parameters preview.ts will be automatically populated by the addon. However you may want to customize certain things like section ordering:
// .storybook/preview.js
const parameters = {
options: {
storySort: {
method: 'alphabetical',
order: [
// ... section headers
],
},
},
};
export default {
parameters,
};0.2.10
10 months ago
0.3.0
10 months ago
0.3.6
8 months ago
0.2.7
10 months ago
0.3.5
8 months ago
0.2.6
11 months ago
0.2.9
10 months ago
0.3.7
8 months ago
0.2.8
10 months ago
0.5.0
6 months ago
0.4.1
7 months ago
0.3.2
9 months ago
0.4.0
7 months ago
0.3.1
9 months ago
0.3.4
8 months ago
0.4.2
6 months ago
0.3.3
9 months ago
0.2.5
1 year ago
0.2.4
1 year ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago
0.0.1
2 years ago