Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/cjs/Popover.d.ts
2020-07-08 12:08:03 +01:00

24 lines
747 B
TypeScript

import React from 'react';
import PopoverTitle from './PopoverTitle';
import PopoverContent from './PopoverContent';
import { Placement } from './Overlay';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
export interface PopoverProps extends React.ComponentPropsWithoutRef<'div'>, BsPrefixPropsWithChildren {
id: string;
placement?: Placement;
title?: string;
arrowProps?: {
ref: any;
style: object;
};
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;