1 | import * as React from 'react';
|
2 | import { ModalProps as BaseModalProps } from '@restart/ui/Modal';
|
3 | import { BsPrefixRefForwardingComponent } from './helpers';
|
4 | export type OffcanvasPlacement = 'start' | 'end' | 'top' | 'bottom';
|
5 | export interface OffcanvasProps extends Omit<BaseModalProps, 'role' | 'renderBackdrop' | 'renderDialog' | 'transition' | 'backdrop' | 'backdropTransition'> {
|
6 | bsPrefix?: string;
|
7 | backdropClassName?: string;
|
8 | scroll?: boolean;
|
9 | placement?: OffcanvasPlacement;
|
10 | responsive?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | string;
|
11 | renderStaticNode?: boolean;
|
12 | }
|
13 | declare const _default: BsPrefixRefForwardingComponent<"div", OffcanvasProps> & {
|
14 | Body: BsPrefixRefForwardingComponent<"div", import("./OffcanvasBody").OffcanvasBodyProps>;
|
15 | Header: React.ForwardRefExoticComponent<import("./OffcanvasHeader").OffcanvasHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
16 | Title: BsPrefixRefForwardingComponent<"div", import("./OffcanvasTitle").OffcanvasTitleProps>;
|
17 | };
|
18 | export default _default;
|