import type { Preview } from "@storybook/react";
import { withRouter } from "storybook-addon-react-router-v6";
import "../src/index.css"; // replace with the name of your tailwind css file
const preview: Preview = {
  parameters: {
    actions: { argTypesRegex: "^on[A-Z].*" },
    controls: {
      matchers: {
        color: /(background|color)$/i,
        date: /Date$/,
      },
    },
  },
  decorators: [withRouter],
};

export default preview;
