Capgemini / dcx-react-library

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

Adding isError property in Checkbox #585

Closed Ahmet-K closed 5 months ago

Ahmet-K commented 6 months ago

Adding isError property into Checkbox component.

Tasks:

https://github.com/Capgemini/dcx-react-library/issues/581

daniele-zurico commented 6 months ago

@Ahmet-K in the storybook documentation please add one example for classBased. You can make the checkbox and the label red for example (something like when you need to accept terms & condition), and in the description you can say that is not a standard gds standard behaviour but the library allow to do so otherwise we don't have visual documentation of your addition