diff --git a/types/reactstrap/lib/Button.d.ts b/types/reactstrap/lib/Button.d.ts index 326e5f88de..f19ecf4e32 100644 --- a/types/reactstrap/lib/Button.d.ts +++ b/types/reactstrap/lib/Button.d.ts @@ -1,7 +1,7 @@ import * as React from 'react'; import { CSSModule } from '../index'; -export type ButtonProps = React.HTMLProps & { +export type ButtonProps = React.ButtonHTMLAttributes & { outline?: boolean; active?: boolean; block?: boolean; diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index 48afb0ce31..ee8b39ae45 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -278,6 +278,11 @@ const Example13 = ( ); +interface CustomButtonProps extends ButtonProps { + customProp: string; +} +const CustomButton: React.SFC = props =>