import React from 'react'; import type { Preview } from "@storybook/react"; import './storybook.css'; const preview: Preview = { parameters: { actions: { argTypesRegex: "^on[A-Z].*" }, controls: { matchers: { color: /(background|color)$/i, date: /Date$/, }, }, options: { storySort: { order: ['Global', 'Settings', 'Experimental'], }, }, }, decorators: [ (Story) => (
{/* 👇 Decorators in Storybook also accept a function. Replace with Story() to enable it */}
), ], }; export default preview;