-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: add toggle button group #133
Conversation
@@ -6,22 +6,60 @@ export interface Props { | |||
color?: ContextColorsType; | |||
variant?: 'default' | 'outlined' | 'text'; | |||
size?: 'sm' | 'lg'; | |||
required?: boolean; | |||
modelValue?: number | number[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, at least in a few of the use-cases we have we use a custom value in buttons
So we would need to be able to replicate this here too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
means we need to make it generic, and add value
to the button component...
b43634c
to
9199892
Compare
Codecov Report
@@ Coverage Diff @@
## main #133 +/- ##
==========================================
+ Coverage 91.00% 91.12% +0.11%
==========================================
Files 39 39
Lines 6763 6849 +86
Branches 275 288 +13
==========================================
+ Hits 6155 6241 +86
Misses 608 608
|
2d4af46
to
4cbb5f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.