Use built-in storybook color components and render as docs instead of story

This commit is contained in:
Gabe Kangas
2023-02-13 19:01:27 -08:00
parent 42ebdc4213
commit 4226e66286
7 changed files with 253 additions and 133 deletions

View File

@@ -13,6 +13,8 @@ export const parameters = {
docs: {
container: DocsContainer,
},
actions: { argTypesRegex: '^on[A-Z].*' },
viewMode: 'docs',
controls: {
matchers: {
color: /(background|color)$/i,