mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
22 lines
434 B
JavaScript
22 lines
434 B
JavaScript
import { withLinks } from '@storybook/addon-links';
|
|
|
|
export const decorators = [withLinks];
|
|
|
|
const port = process.env.SERVER_PORT || 1337;
|
|
|
|
export const parameters = {
|
|
a11y: {
|
|
config: {},
|
|
options: {
|
|
checks: { 'color-contrast': { options: { noScroll: true } } },
|
|
restoreScroll: true,
|
|
},
|
|
},
|
|
docs: {
|
|
iframeHeight: '200px',
|
|
},
|
|
server: {
|
|
url: `http://localhost:${port}/storybook_preview`,
|
|
},
|
|
};
|