Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update styled-components to v6 (#266)
Add $prefix on custom props of styled components. Remove or replace invalid styles. Remove types.d.ts declaration file, which was messing types. Update tsconfig to allow js. Update types which were messed up by the declaration file, to reflect the real type. Add prop types to js components to fix sonar warning. They should be helpful when migrating to typescript. Add some FIXME comment where the types are too messed up, and additional knowledge/refactor is required to fix them. Remove unused files. Remove invalid, unused props. Split StyledListItem to one simpler styled component and the EnhancedListItem, which takes care of setting the right color for the styled component. Replace its usages. Refs: CO-1610
- Loading branch information