mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-07 16:12:14 +01:00
Update storybook config
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
module.exports = {
|
||||
stories: ['../**/*.story.mdx', '../**/*.story.@(js|jsx|ts|tsx)'],
|
||||
stories: ['../**/*.story.mdx', '../**/*.story.*'],
|
||||
addons: [
|
||||
'storybook-dark-mode',
|
||||
'@storybook/addon-links',
|
||||
'@storybook/addon-essentials',
|
||||
{
|
||||
name: 'storybook-addon-turbo-build',
|
||||
options: { optimizationLevel: 2 },
|
||||
},
|
||||
],
|
||||
typescript: {
|
||||
check: false,
|
||||
reactDocgen: false,
|
||||
},
|
||||
framework: '@storybook/react',
|
||||
features: { emotionAlias: false },
|
||||
webpackFinal: async (config, { configType }) => {
|
||||
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION'
|
||||
// You can change the configuration based on that.
|
||||
|
||||
@@ -5,7 +5,6 @@ import { NotificationsProvider } from '@mantine/notifications';
|
||||
export const parameters = { layout: 'fullscreen' };
|
||||
|
||||
function ThemeWrapper(props: { children: React.ReactNode }) {
|
||||
const a = 2;
|
||||
return (
|
||||
<ColorSchemeProvider colorScheme="light" toggleColorScheme={() => {}}>
|
||||
<MantineProvider
|
||||
|
||||
Reference in New Issue
Block a user