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

File useFilterOptions.ts

src/hooks/useFilterOptions.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as React from 'react';
2import { toArray } from '../utils/commonUtil';
3import type { FieldNames, DefaultOptionType, SelectProps } from '../Select';
4import { injectPropsWithOption } from '../utils/valueUtil';

Callers

nothing calls this directly

Calls 2

injectPropsWithOptionFunction · 0.90
includesFunction · 0.85

Tested by

no test coverage detected