MCPcopy Create free account
hub / github.com/react-component/select / get

Function get

src/utils/valueUtil.ts:105–111  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 if (!('props' in newOption)) {
104 Object.defineProperty(newOption, 'props', {
105 get() {
106 warning(
107 false,
108 'Return type is option instead of Option instance. Please read value directly instead of reading from `props`.',
109 );
110 return newOption;
111 },
112 });
113 }
114

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected