MCPcopy
hub / github.com/lelandrichardson/react-primitives / ensurePositiveDelayProps

Function ensurePositiveDelayProps

src/modules/Touchable.js:6–11  ·  view source on GitHub ↗
(/* props */)

Source from the content-addressed store, hash-verified

4const TimerMixin = require('react-timer-mixin');
5
6const ensurePositiveDelayProps = (/* props */) => {
7 // invariant(
8 // !(props.delayPressIn < 0 || props.delayPressOut < 0 || props.delayLongPress < 0),
9 // 'Touchable components cannot have negative delay properties'
10 // );
11};
12
13const InsetPropType = PropTypes.shape({
14 top: PropTypes.number,

Callers 2

componentDidMountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…