Skip to content

Commit

Permalink
run proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Sep 26, 2022
1 parent 706c294 commit c225543
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/mui-joy/src/Checkbox/Checkbox.tsx
Expand Up @@ -447,6 +447,10 @@ Checkbox.propTypes /* remove-proptypes */ = {
* @default false
*/
overlay: PropTypes.bool,
/**
* If `true`, the component is read only.
*/
readOnly: PropTypes.bool,
/**
* If `true`, the `input` element is required.
*/
Expand All @@ -471,6 +475,15 @@ Checkbox.propTypes /* remove-proptypes */ = {
* The icon when `checked` is false.
*/
uncheckedIcon: PropTypes.node,
/**
* The value of the component. The DOM API casts this to a string.
* The browser uses "on" as the default value.
*/
value: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.string),
PropTypes.number,
PropTypes.string,
]),
/**
* The variant to use.
* @default 'solid'
Expand Down

0 comments on commit c225543

Please sign in to comment.