import * as React from 'react'; import { type ComponentsOverrides } from '@mui/material/styles'; import { Link, type To } from 'react-router-dom'; import { type ButtonProps, type LocationDescriptor } from './Button'; interface Props { resource?: string; icon?: React.ReactNode; scrollToTop?: boolean; to?: LocationDescriptor | To; } export type CreateButtonProps = Props & Omit, 'to'>; export declare const CreateButtonClasses: { root: string; floating: string; }; declare const _default: React.MemoExoticComponent<(inProps: CreateButtonProps) => React.JSX.Element | null>; export default _default; declare module '@mui/material/styles' { interface ComponentNameToClassKey { RaCreateButton: 'root' | 'floating'; } interface ComponentsPropsList { RaCreateButton: Partial; } interface Components { RaCreateButton?: { defaultProps?: ComponentsPropsList['RaCreateButton']; styleOverrides?: ComponentsOverrides>['RaCreateButton']; }; } } //# sourceMappingURL=CreateButton.d.ts.map