refactor: config with scss to tailwind (#42)
* fix: update deps and devDeps * refactor(prettier): remove unwritten file names from formatter * styles: remove stylelint & scss * refactor: replace scss styles to tailwind * feat: implement tailwind config * refactor: update eslint config * refactor(locales): replace autho's github url with repo itself * refactor: change author's name license * refactor(code): update code settings * refactor: improve file components generators * fix(code): add sharable config * fix(linter): resolve bad parserConfig and linting itself * refactor: bad imports * refactor: update workflow with its scripts
This commit is contained in:
13
generators/Component/Component.tsx.hbs
Normal file
13
generators/Component/Component.tsx.hbs
Normal file
@ -0,0 +1,13 @@
|
||||
import classNames from 'classnames'
|
||||
|
||||
interface {{ properCase name }}Props {
|
||||
className?: string
|
||||
}
|
||||
|
||||
export const {{ properCase name }}: React.FC<{{ properCase name }}Props> = ({
|
||||
className
|
||||
}) => {
|
||||
return (
|
||||
<div className={classNames(className, '')}></div>
|
||||
)
|
||||
}
|
1
generators/Component/index.ts.hbs
Normal file
1
generators/Component/index.ts.hbs
Normal file
@ -0,0 +1 @@
|
||||
export * from './{{ properCase name }}'
|
Reference in New Issue
Block a user