
const path = __dirname.includes('node_modules') ? '../../../' : '';

module.exports = {
	stories: [
		'../src/**/*.story.jsx',
		'../src/**/*.story.mdx',
		'../docs/**/*.story.mdx',
		`${path}../(customComponents/**/*.story.(jsx|mdx))?`
	],
	addons: ['@storybook/addon-knobs', '@storybook/addon-a11y', '@storybook/addon-docs', '@storybook/addon-viewport', './grid-addon/register']
};
