Skip to content

Conversation

@Cahllagerfeld
Copy link
Collaborator

@Cahllagerfeld Cahllagerfeld commented Apr 9, 2024

Description

✨ add checkbox component

Checklist

Please make sure that your pull request complies with the following requirements:

  • Code Quality:

    • 🧹 Code follows the project's coding guidelines.
  • Testing:

    • 🧪️ All existing tests pass successfully.
  • Documentation:

    • 📖 README and documentation are updated if necessary.
  • Review:

    • 👀 Code has been reviewed by a team member.
  • Security:

    • 🔒 Changes don't introduce security vulnerabilities.

Screenshots (optional)

grafik

{...props}
>
<CheckboxPrimitive.Indicator className={cn("flex items-center justify-center text-current")}>
<svg
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I needed to hard embed the svg here, in case we need a more flexible usecase in the future, I also exported the base primitives CheckboxRoot and CheckboxIndicator

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for the moment it is enough embedding the svg but we have to find a way to "componentise" the icons. 🤔

@Cahllagerfeld Cahllagerfeld merged commit 63baf62 into main Apr 10, 2024
@Cahllagerfeld Cahllagerfeld deleted the feature/checkbox-component branch April 10, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants