Capgemini / dcx-react-library

React Library UI/UX agnostic
https://main--6069a6f47f4b9f002171f8e1.chromatic.com
MIT License
113 stars 6 forks source link

Cleanup - remove all the join and conditional classes and use the new utils #407

Closed daniele-zurico closed 1 year ago

daniele-zurico commented 1 year ago

Two new utilities has been created for multiple classes and contional classes in /src/common/utils/classNames.ts

Scan all the components and when you find conditional classnames or concatenated classNames use the 2 explained functions

daniele-zurico commented 1 year ago

Closed by #411