@mui/x-date-pickers
Version:
The community edition of the Date and Time Picker components (MUI X).
23 lines (22 loc) • 662 B
TypeScript
import { SxProps } from '@mui/system';
import { Theme } from '@mui/material/styles';
import { DateOrTimeViewWithMeridiem } from '../common';
export interface BaseTabsProps<TView extends DateOrTimeViewWithMeridiem> {
/**
* Currently visible picker view.
*/
view: TView;
/**
* Callback called when a tab is clicked.
* @template TView
* @param {TView} view The view to open
*/
onViewChange: (view: TView) => void;
}
export interface ExportedBaseTabsProps {
className?: string;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}