mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-12 10:26:49 +08:00
Reviewed By: yungsters Differential Revision: D7977386 fbshipit-source-id: a6df2d75e0caa55a84f9c9c6860f622942955dfc
21 lines
387 B
JavaScript
21 lines
387 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const PropTypes = require('prop-types');
|
|
|
|
const PointPropType = PropTypes.shape({
|
|
x: PropTypes.number,
|
|
y: PropTypes.number,
|
|
});
|
|
|
|
module.exports = PointPropType;
|