UNPKG

@mui/x-date-pickers-pro

Version:

The Pro plan edition of the Date and Time Picker components (MUI X).

9 lines 307 B
/* TODO: remove this when a clearable behavior for multiple input range fields is implemented */ export const excludeProps = (props, excludedProps) => { return Object.keys(props).reduce((acc, key) => { if (!excludedProps.includes(key)) { acc[key] = props[key]; } return acc; }, {}); };