Skip to content

Commit 08a8d1f

Browse files
fix: add Flow type definitions for activity feed components
1 parent fb4c802 commit 08a8d1f

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// @flow
2+
import * as React from 'react';
3+
4+
export type Props = {
5+
children?: React.Node,
6+
className?: string,
7+
handleOverlayKeyDown?: Function,
8+
shouldDefaultFocus?: boolean,
9+
shouldOutlineFocus?: boolean,
10+
};
11+
12+
declare export default React.ComponentType<Props>;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// @flow
2+
import * as React from 'react';
3+
4+
type Props = {
5+
children: React.Node,
6+
};
7+
8+
declare export default React.ComponentType<Props>;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// @flow
2+
import * as React from 'react';
3+
4+
type Props = {
5+
handleShowOriginal: (event: SyntheticMouseEvent<>) => void,
6+
};
7+
8+
declare export default React.ComponentType<Props>;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// @flow
2+
import * as React from 'react';
3+
4+
type Props = {
5+
handleTranslate: (event: SyntheticMouseEvent<>) => void,
6+
};
7+
8+
declare export default React.ComponentType<Props>;

0 commit comments

Comments
 (0)