storybook/docs/snippets/common/storybook-addon-controls-custom-matchers.js.mdx
2021-02-13 13:21:47 +01:00

12 lines
166 B
Plaintext

```js
// .storybook/preview.js
export const parameters = {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
};
```