MCPcopy Create free account
hub / github.com/Lobos/react-ui / _assertCheckedLink

Function _assertCheckedLink

docs/lib/react.js:3485–3488  ·  view source on GitHub ↗
(inputProps)

Source from the content-addressed store, hash-verified

3483}
3484
3485function _assertCheckedLink(inputProps) {
3486 _assertSingleLink(inputProps);
3487 !(inputProps.checked == null && inputProps.onChange == null) ? "development" !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. ' + 'If you want to use checked or onChange, you probably don\'t want to ' + 'use checkedLink') : invariant(false) : void 0;
3488}
3489
3490var propTypes = {
3491 value: function (props, propName, componentName) {

Callers 1

react.jsFile · 0.85

Calls 2

_assertSingleLinkFunction · 0.85
invariantFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…