Skip to content

Commit

Permalink
frint-react/Region TypeScript definitions (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw authored and fahad19 committed May 30, 2018
1 parent 238c803 commit 8c976f8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/frint-react/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@ export class Streamer {
get$(): Observable<any>;
}

export interface RegionProps {
name: string;
uniqueKey?: string;
data?: any;
}

export class Region extends React.Component<RegionProps, any> {
constructor(...args: any[]);

shouldComponentUpdate(): boolean;

componentWillMount(): any;
UNSAFE_componentWillMount(): any;

componentWillReceiveProps(): any;
UNSAFE_componentWillReceiveProps(): any;

componentWillUnmount(): any;

render(): React.ReactElement<React.Component>;
}

export class RegionService {
constructor();

Expand Down

0 comments on commit 8c976f8

Please sign in to comment.