Tailus-UI / tailus-ui-react

Highly customizable react components for crafting modern, personalized websites and applications.
https://ui.tailus.io/
MIT License
326 stars 14 forks source link

Refactor Annonce component #23

Closed Balick closed 7 months ago

Balick commented 7 months ago

Refactor Annonce component to use separate concern and message component

Balick commented 7 months ago

I wanted to use AnnonceRoot, AnnonceConcern and AnnoncetMessage as names in order to keep the same logic with Radix components, since they use for each component, its name first followed by a piece of this component

Balick commented 7 months ago

cva was not required for the AnnonceConcern and AnnonceConcernMessage pieces. I only used it for the AnnonceConcernRoot piece.