3d6fb0d6b1
refs https://github.com/TryGhost/Team/issues/3151 - adds a new vite + typescript + storybook + TW package for setting up admin settings in react with base config that works with Ghost monorepo - includes base components/design system for new settings UI - adds eslint rule config to the package to match rest of Ghost codebase - this is an experimental package as we figure out the best patterns for new admin packages in Ghost monorepo Co-authored-by: Peter Zimon <zimo@ghost.org>
17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
import '../src/styles/index.css';
|
|
import type { Preview } from "@storybook/react";
|
|
|
|
const preview: Preview = {
|
|
parameters: {
|
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
controls: {
|
|
matchers: {
|
|
color: /(background|color)$/i,
|
|
date: /Date$/,
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export default preview;
|