Skip to content

Commit

Permalink
Proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Jan 2, 2024
1 parent 58bb5fa commit 5f1ca90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/mui-material-next/src/Option/Option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ const Option = React.forwardRef(function Option<RootComponentType extends React.
}) as OverridableComponent<OptionTypeMap>;

Option.propTypes /* remove-proptypes */ = {
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
// ┌────────────────────────────── Warning ──────────────────────────────┐
// These PropTypes are generated from the TypeScript type definitions. │
// To update them, edit the TypeScript types and run `pnpm proptypes`. │
// └─────────────────────────────────────────────────────────────────────┘
/**
* If `true`, the list item is focused during the first mount.
* Focus will also be triggered if the value changes from false to true.
Expand Down
8 changes: 4 additions & 4 deletions packages/mui-material-next/src/Switch/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ const Switch = React.forwardRef(function Switch<
}) as OverridableComponent<SwitchTypeMap>;

Switch.propTypes /* remove-proptypes */ = {
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
// ┌────────────────────────────── Warning ──────────────────────────────┐
// These PropTypes are generated from the TypeScript type definitions. │
// To update them, edit the TypeScript types and run `pnpm proptypes`. │
// └─────────────────────────────────────────────────────────────────────┘
/**
* If `true`, the component is checked.
*/
Expand Down

0 comments on commit 5f1ca90

Please sign in to comment.