Skip to content

Commit 136dfc8

Browse files
Evan Worleyfacebook-github-bot
Evan Worley
authored andcommitted
Flow strictifying AdsManagerAudienceImages.js
Reviewed By: gkz Differential Revision: D10414273 fbshipit-source-id: 24c7e8955d78aeede8b0644cc9934e0b7fb5aa27
1 parent 66aba09 commit 136dfc8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Libraries/ART/ReactNativeART.js

+13-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,19 @@ function extractStrokeJoin(strokeJoin) {
399399
// Note: ART has a notion of width and height on Shape but AFAIK it's a noop in
400400
// ReactART.
401401

402-
class Shape extends React.Component {
402+
export type ShapeProps = {|
403+
fill?: mixed,
404+
stroke?: mixed,
405+
strokeCap?: mixed,
406+
strokeDash?: mixed,
407+
strokeJoin?: mixed,
408+
strokeWidth?: mixed,
409+
x?: number,
410+
y?: number,
411+
opacity?: mixed,
412+
|};
413+
414+
class Shape extends React.Component<ShapeProps> {
403415
render() {
404416
const props = this.props;
405417
const path = props.d || childrenAsString(props.children);

0 commit comments

Comments
 (0)