Skip to content

Commit 8c976f8

Browse files
adrwfahad19
authored andcommitted
frint-react/Region TypeScript definitions (#421)
1 parent 238c803 commit 8c976f8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

packages/frint-react/index.d.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,28 @@ export class Streamer {
1818
get$(): Observable<any>;
1919
}
2020

21+
export interface RegionProps {
22+
name: string;
23+
uniqueKey?: string;
24+
data?: any;
25+
}
26+
27+
export class Region extends React.Component<RegionProps, any> {
28+
constructor(...args: any[]);
29+
30+
shouldComponentUpdate(): boolean;
31+
32+
componentWillMount(): any;
33+
UNSAFE_componentWillMount(): any;
34+
35+
componentWillReceiveProps(): any;
36+
UNSAFE_componentWillReceiveProps(): any;
37+
38+
componentWillUnmount(): any;
39+
40+
render(): React.ReactElement<React.Component>;
41+
}
42+
2143
export class RegionService {
2244
constructor();
2345

0 commit comments

Comments
 (0)