Files
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

18 lines
828 B
TypeScript

/// <reference types="react" />
import { DialogActionsProps } from '@mui/material/DialogActions';
import { WrapperVariant } from '../internals/components/wrappers/WrapperVariantContext';
export declare type PickersActionBarAction = 'clear' | 'cancel' | 'accept' | 'today';
export interface PickersActionBarProps extends DialogActionsProps {
/**
* Ordered array of actions to display.
* If empty, does not display that action bar.
* @default `['cancel', 'accept']` for mobile and `[]` for desktop
*/
actions?: PickersActionBarAction[] | ((wrapperVariant: WrapperVariant) => PickersActionBarAction[]);
onAccept: () => void;
onClear: () => void;
onCancel: () => void;
onSetToday: () => void;
}
export declare const PickersActionBar: (props: PickersActionBarProps) => JSX.Element | null;