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

Function createSelect

tests/Combobox.test.tsx:121–126  ·  view source on GitHub ↗
(props?: Partial<SelectProps>)

Source from the content-addressed store, hash-verified

119
120 describe('input value', () => {
121 const createSelect = (props?: Partial<SelectProps>) => (
122 <Select mode="combobox" {...props}>
123 <Option value="1">One</Option>
124 <Option value="2">Two</Option>
125 </Select>
126 );
127
128 it('displays correct input value for defaultValue', () => {
129 const { container } = render(

Callers 1

Combobox.test.tsxFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…