-> find useStyles usage -> remember the name, e.g. `const classes = -> find parent Function -> find return of that function
-> asssume name if useStyles will be classes
-> find classes variable
-> find attributes (should be classnName
)
-> find component
-> component name needs to be used for styled-components
-> replace with
- Styles will be declared with
const useStyles =
- Classes will be used in functional components and always be called
classes