diff --git a/types/reactstrap/lib/Row.d.ts b/types/reactstrap/lib/Row.d.ts index 1f952c6da8..3e619a4f10 100644 --- a/types/reactstrap/lib/Row.d.ts +++ b/types/reactstrap/lib/Row.d.ts @@ -1,12 +1,15 @@ import * as React from 'react'; import { CSSModule } from '../index'; -export interface RowProps extends React.HTMLProps { +type Omit = Pick>; + +export interface RowProps extends Omit, 'form'> { [key: string]: any; className?: string; cssModule?: CSSModule; tag?: React.ReactType; noGutters?: boolean; + form?: boolean; } declare class Row extends React.Component {} diff --git a/types/reactstrap/reactstrap-tests.tsx b/types/reactstrap/reactstrap-tests.tsx index 71cb1e17f5..c4bd5340b9 100644 --- a/types/reactstrap/reactstrap-tests.tsx +++ b/types/reactstrap/reactstrap-tests.tsx @@ -4532,3 +4532,34 @@ function Example127() { ); } + +function Example128() { + return ( +
+ + + + + + + + + + + + + + +
+ ); +}