feat(tools): setup TailwindCSS in ui-components (#42153)

This commit is contained in:
Huyen Nguyen
2021-05-17 14:13:27 +07:00
committed by GitHub
parent c666e83d6f
commit ed094523e4
7 changed files with 705 additions and 23 deletions

View File

@@ -18,9 +18,12 @@ export const Button = ({
: 'storybook-button--secondary';
return (
<button
className={['storybook-button', `storybook-button--${size}`, mode].join(
' '
)}
className={[
'storybook-button',
`storybook-button--${size}`,
mode,
'fcc-style'
].join(' ')}
style={{ backgroundColor }}
type='button'
{...props}