You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.4 KiB
27 lines
1.4 KiB
import * as React from 'react';
|
|
import { BaseModalProps } from '@restart/ui/Modal';
|
|
import { BsPrefixRefForwardingComponent } from './helpers';
|
|
export interface ModalProps extends Omit<BaseModalProps, 'role' | 'renderBackdrop' | 'renderDialog' | 'transition' | 'backdropTransition' | 'children'> {
|
|
size?: 'sm' | 'lg' | 'xl';
|
|
fullscreen?: true | string | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down' | 'xxl-down';
|
|
bsPrefix?: string;
|
|
centered?: boolean;
|
|
backdropClassName?: string;
|
|
animation?: boolean;
|
|
dialogClassName?: string;
|
|
contentClassName?: string;
|
|
dialogAs?: React.ElementType;
|
|
scrollable?: boolean;
|
|
[other: string]: any;
|
|
}
|
|
declare const _default: BsPrefixRefForwardingComponent<"div", ModalProps> & {
|
|
Body: BsPrefixRefForwardingComponent<"div", unknown>;
|
|
Header: React.ForwardRefExoticComponent<import("./ModalHeader").ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
Title: BsPrefixRefForwardingComponent<React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>, unknown>;
|
|
Footer: BsPrefixRefForwardingComponent<"div", unknown>;
|
|
Dialog: React.ForwardRefExoticComponent<import("./ModalDialog").ModalDialogProps & React.RefAttributes<HTMLDivElement>>;
|
|
TRANSITION_DURATION: number;
|
|
BACKDROP_TRANSITION_DURATION: number;
|
|
};
|
|
export default _default;
|