From a642ce2ed8d69552a97781419cdd3604a97b7fea Mon Sep 17 00:00:00 2001 From: Danilo Barros Date: Mon, 1 May 2017 15:23:33 -0300 Subject: [PATCH] refactor(lib): extending some components from HTMLProps --- types/reactstrap/lib/Col.d.ts | 4 +--- types/reactstrap/lib/FormGroup.d.ts | 2 +- types/reactstrap/lib/Nav.d.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/types/reactstrap/lib/Col.d.ts b/types/reactstrap/lib/Col.d.ts index ca93541104..a2ea76d607 100644 --- a/types/reactstrap/lib/Col.d.ts +++ b/types/reactstrap/lib/Col.d.ts @@ -9,9 +9,7 @@ export type ColumnProps offset?: string | number }; -interface Props { - className?: string; - +interface Props extends React.HTMLProps { xs?: ColumnProps; sm?: ColumnProps; md?: ColumnProps; diff --git a/types/reactstrap/lib/FormGroup.d.ts b/types/reactstrap/lib/FormGroup.d.ts index c9293626cd..0bf94a82a2 100644 --- a/types/reactstrap/lib/FormGroup.d.ts +++ b/types/reactstrap/lib/FormGroup.d.ts @@ -1,4 +1,4 @@ -interface Props { +interface Props extends React.HTMLProps { row?: boolean; check?: boolean; disabled?: boolean; diff --git a/types/reactstrap/lib/Nav.d.ts b/types/reactstrap/lib/Nav.d.ts index d0fe8bf03a..981d5087b8 100644 --- a/types/reactstrap/lib/Nav.d.ts +++ b/types/reactstrap/lib/Nav.d.ts @@ -1,4 +1,4 @@ -interface Props { +interface Props extends React.HTMLProps { inline?: boolean; disabled?: boolean; tabs?: boolean;