Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alterar a nomenclatura de todas os componentes vindos do Styled Components #76

Open
danielg-favero opened this issue Jul 23, 2022 · 0 comments

Comments

@danielg-favero
Copy link
Member

Assim contornamos dois problemas:

  • Sabemos diferenciar os componentes que são de estilo dos que são funcionais;
  • Reduzimos as importações de componentes dentro dos arquivos.

Ex:
`
import * as S from './styles'

export const Base: React.FC = ({ children }) => {
return <S.Container>{children}</S.Container>
}
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant