19 lines
521 B
TypeScript
19 lines
521 B
TypeScript
import * as React from 'react';
|
|
|
|
import Button, { ButtonProps } from './Button';
|
|
|
|
import { BsPrefixComponent, BsPrefixComponentClass } from './helpers';
|
|
|
|
export interface DropdownToggleProps {
|
|
id: string;
|
|
split?: boolean;
|
|
childBsPrefix?: string;
|
|
}
|
|
|
|
declare class DropdownToggle<
|
|
// Need to use BsPrefixComponentClass to get proper type checking.
|
|
As extends React.ElementType = BsPrefixComponentClass<'button', ButtonProps>
|
|
> extends BsPrefixComponent<As, DropdownToggleProps> {}
|
|
|
|
export default DropdownToggle;
|