installed react testing library

This commit is contained in:
andres alcocer
2022-11-27 21:38:30 -05:00
parent 97011b55b3
commit 41adc7eb01
4 changed files with 62 additions and 2 deletions

View File

@@ -1,9 +1,22 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
backgrounds: {
default: 'dark',
values: [
{
name: 'dark',
value: '#141414',
},
{
name: 'light',
value: '#fff',
},
],
},
}