1
0
Fork 0
react-playground/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar.d.ts
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

29 lines
No EOL
1.1 KiB
TypeScript

import * as React from 'react';
import { DialogActionsProps } from '@mui/material/DialogActions';
export type PickersActionBarAction = 'clear' | 'cancel' | 'accept' | 'today' | 'next' | 'nextOrAccept';
export interface PickersActionBarProps extends DialogActionsProps {
/**
* Ordered array of actions to display.
* If empty, does not display that action bar.
* @default
* - `[]` for Pickers with one selection step which `closeOnSelect`.
* - `['cancel', 'nextOrAccept']` for all other Pickers.
*/
actions?: PickersActionBarAction[];
}
/**
* Demos:
*
* - [Custom slots and subcomponents](https://mui.com/x/react-date-pickers/custom-components/)
* - [Custom layout](https://mui.com/x/react-date-pickers/custom-layout/)
*
* API:
*
* - [PickersActionBar API](https://mui.com/x/api/date-pickers/pickers-action-bar/)
*/
declare function PickersActionBarComponent(props: PickersActionBarProps): React.JSX.Element | null;
declare namespace PickersActionBarComponent {
var propTypes: any;
}
declare const PickersActionBar: React.MemoExoticComponent<typeof PickersActionBarComponent>;
export { PickersActionBar };