-
Notifications
You must be signed in to change notification settings - Fork 957
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(ui): checkbox component #238
Conversation
onChange?: (checked: boolean) => void; | ||
appearance?: string | 'default'; | ||
status?: string | 'error'; | ||
size?: string | 'big' | 'small'; |
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.
Please remove exact values
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.
currently the same syntax is used in radio component
we can refactor this in each implemented component in future
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.
need to change onChange value
|
||
// TODO(ui): checkmark component | ||
|
||
export class CheckMark extends React.Component<Props> { |
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.
There is such demo component in the "toggle" PR
Please read and mark the following check list before creating a pull request:
Short description of what this resolves:
implements
CheckBox
component