GoScrobble/web/node_modules/react-bootstrap/esm/Popover.d.ts

21 lines
721 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import React from 'react';
import PopoverTitle from './PopoverTitle';
import PopoverContent from './PopoverContent';
import { ArrowProps, Placement } from './Overlay';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
export interface PopoverProps extends React.ComponentPropsWithoutRef<'div'>, BsPrefixPropsWithChildren {
id: string;
placement?: Placement;
title?: string;
arrowProps?: ArrowProps;
content?: boolean;
popper?: any;
show?: boolean;
}
declare type Popover = BsPrefixRefForwardingComponent<'div', PopoverProps> & {
Title: typeof PopoverTitle;
Content: typeof PopoverContent;
};
declare const Popover: Popover;
export default Popover;