refactor(lib): extending some components from HTMLProps

This commit is contained in:
Danilo Barros
2017-05-01 15:23:33 -03:00
parent 2a740f7bee
commit a642ce2ed8
3 changed files with 3 additions and 5 deletions

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
interface Props {
interface Props extends React.HTMLProps<HTMLDivElement> {
row?: boolean;
check?: boolean;
disabled?: boolean;

View File

@@ -1,4 +1,4 @@
interface Props {
interface Props extends React.HTMLProps<HTMLUListElement> {
inline?: boolean;
disabled?: boolean;
tabs?: boolean;