mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 21:12:38 +08:00
refactor(lib): extending some components from HTMLProps
This commit is contained in:
4
types/reactstrap/lib/Col.d.ts
vendored
4
types/reactstrap/lib/Col.d.ts
vendored
@@ -9,9 +9,7 @@ export type ColumnProps
|
||||
offset?: string | number
|
||||
};
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
|
||||
interface Props extends React.HTMLProps<HTMLDivElement> {
|
||||
xs?: ColumnProps;
|
||||
sm?: ColumnProps;
|
||||
md?: ColumnProps;
|
||||
|
||||
2
types/reactstrap/lib/FormGroup.d.ts
vendored
2
types/reactstrap/lib/FormGroup.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
interface Props {
|
||||
interface Props extends React.HTMLProps<HTMLDivElement> {
|
||||
row?: boolean;
|
||||
check?: boolean;
|
||||
disabled?: boolean;
|
||||
|
||||
2
types/reactstrap/lib/Nav.d.ts
vendored
2
types/reactstrap/lib/Nav.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
interface Props {
|
||||
interface Props extends React.HTMLProps<HTMLUListElement> {
|
||||
inline?: boolean;
|
||||
disabled?: boolean;
|
||||
tabs?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user