diff --git a/types/reactstrap/lib/Dropdown.d.ts b/types/reactstrap/lib/Dropdown.d.ts index 59f827744e..12d001accd 100644 --- a/types/reactstrap/lib/Dropdown.d.ts +++ b/types/reactstrap/lib/Dropdown.d.ts @@ -14,7 +14,9 @@ export type UncontrolledProps = React.HTMLAttributes & { cssModule?: CSSModule; nav?: boolean; inNavbar?: boolean; + setActiveFromChild?: boolean; } & T; + export type UncontrolledDropdownProps = UncontrolledProps; export type Props = UncontrolledProps & { @@ -25,6 +27,7 @@ export type Props = UncontrolledProps & { tag?: React.ReactType; addonType?: boolean | 'prepend' | 'append'; }; + export type DropdownProps = Props; declare class Dropdown extends React.Component> {} diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index 61bee46edc..b59ffa377d 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -4177,3 +4177,22 @@ class Example120 extends React.Component { ); } } + +class Example120 extends React.Component { + render() { + return ( + + + Dropdown + + + Header + Action + Another Action + + Another Action + + + ); + } +}