Skip to content

Commit

Permalink
yarn proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw committed Feb 10, 2023
1 parent 44fc97b commit 1ba92e0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,17 @@ GridColumnsPanel.propTypes = {
// ----------------------------------------------------------------------
autoFocusSearchField: PropTypes.bool,
searchPredicate: PropTypes.func,
slotProps: PropTypes.object,
slotProps: PropTypes.shape({
TrapFocus: PropTypes.shape({
children: PropTypes.element.isRequired,
disableAutoFocus: PropTypes.bool,
disableEnforceFocus: PropTypes.bool,
disableRestoreFocus: PropTypes.bool,
getTabbable: PropTypes.func,
isEnabled: PropTypes.func,
open: PropTypes.bool.isRequired,
}),
}),
sort: PropTypes.oneOf(['asc', 'desc']),
} as any;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,17 @@ GridPanelWrapper.propTypes = {
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the TypeScript types and run "yarn proptypes" |
// ----------------------------------------------------------------------
slotProps: PropTypes.object,
slotProps: PropTypes.shape({
TrapFocus: PropTypes.shape({
children: PropTypes.element.isRequired,
disableAutoFocus: PropTypes.bool,
disableEnforceFocus: PropTypes.bool,
disableRestoreFocus: PropTypes.bool,
getTabbable: PropTypes.func,
isEnabled: PropTypes.func,
open: PropTypes.bool.isRequired,
}),
}),
} as any;

export { GridPanelWrapper };

0 comments on commit 1ba92e0

Please sign in to comment.