diff --git a/index.d.ts b/index.d.ts index abd0d7c..5b40b77 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,17 +1,22 @@ declare module "react-native-easy-grid" { - import {Component} from "react"; - import {ViewProperties} from "react-native"; + import {View, ViewProperties} from "react-native"; export interface RowProps extends ViewProperties { - size?: number + size?: number; } export interface ColProps extends ViewProperties { - size?: number + size?: number; } - export class Grid extends Component {} - export class Row extends Component {} - export class Col extends Component {} + export class Grid extends Component { + public _root: View | null; + } + export class Row extends Component { + public _root: View | null; + } + export class Col extends Component { + public _root: View | null; + } }