bluewave-labs / bluewave-onboarding

https://bluewavelabs.ca
GNU Affero General Public License v3.0
22 stars 3 forks source link

Feature/74 implement and integrate checkbox component #87

Closed SimerdeepSinghGrewal closed 2 months ago

SimerdeepSinghGrewal commented 2 months ago

I have created a new Checkbox component to accept the following props: label: to specify the text label associated with the checkbox. checked: to determine whether the checkbox is initially checked. onChange: to handle the change event when the checkbox is clicked. variant: to define the checkbox style (e.g., primary, secondary). className: to apply additional CSS classes. style: to apply inline styles. the component can handle different types of checkboxes, such as primary, secondary, etc. I have tested everything as well, check screenshot Screenshot 2024-06-20 162007

erenfn commented 2 months ago

Can you also add this to your code as a block comment?

label: to specify the text label associated with the checkbox.
checked: to determine whether the checkbox is initially checked.
onChange: to handle the change event when the checkbox is clicked.
variant: to define the checkbox style (e.g., primary, secondary).
className: to apply additional CSS classes.
style: to apply inline styles.
SimerdeepSinghGrewal commented 2 months ago

Can you also add this to your code as a block comment?

label: to specify the text label associated with the checkbox.
checked: to determine whether the checkbox is initially checked.
onChange: to handle the change event when the checkbox is clicked.
variant: to define the checkbox style (e.g., primary, secondary).
className: to apply additional CSS classes.
style: to apply inline styles.

Thank you for this, I was thinking to add comments but then forgot.