mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
tighten EdgeInsetsPropType flow type
Reviewed By: yungsters Differential Revision: D6767104 fbshipit-source-id: 40b1a4f9f41ff4beae141b636738994ccfa96d37
This commit is contained in:
parent
4f2cc42a2d
commit
6e7fb01c02
@ -22,11 +22,11 @@ const EdgeInsetsPropType = (createStrictShapeTypeChecker({
|
||||
right: PropTypes.number,
|
||||
}): ReactPropsCheckType & ReactPropsChainableTypeChecker);
|
||||
|
||||
export type EdgeInsetsProp = {
|
||||
top: number,
|
||||
left: number,
|
||||
bottom: number,
|
||||
right: number,
|
||||
};
|
||||
export type EdgeInsetsProp = {|
|
||||
+top: number,
|
||||
+left: number,
|
||||
+bottom: number,
|
||||
+right: number,
|
||||
|};
|
||||
|
||||
module.exports = EdgeInsetsPropType;
|
||||
|
Loading…
x
Reference in New Issue
Block a user