mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
21 lines
721 B
TypeScript
21 lines
721 B
TypeScript
|
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;
|