UNPKG

743 BTypeScriptView Raw
1import * as React from "react";
2import { Omit, Sizes } from "react-bootstrap";
3import { DropdownBaseProps } from "./Dropdown";
4
5declare namespace DropdownButton {
6 export interface DropdownButtonBaseProps extends DropdownBaseProps {
7 block?: boolean | undefined;
8 bsSize?: Sizes | undefined;
9 bsStyle?: string | null | undefined;
10 navItem?: boolean | undefined;
11 noCaret?: boolean | undefined;
12 pullRight?: boolean | undefined;
13 title: React.ReactNode;
14 }
15
16 export type DropdownButtonProps = DropdownButtonBaseProps & Omit<React.HTMLProps<DropdownButton>, "title">;
17}
18declare class DropdownButton extends React.Component<DropdownButton.DropdownButtonProps> {}
19export = DropdownButton;