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

Function Demo

docs/examples/auto-tokenization.tsx:5–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import '../../assets/index.less';
4
5const Demo: React.FC = () => (
6 <>
7 <h2>自动分词</h2>
8 <Select
9 mode="tags"
10 maxCount={3}
11 style={{ width: '100%' }}
12 tokenSeparators={[',']}
13 options={Array.from({ length: 20 }, (_, i) => ({ label: i.toString(), value: i.toString() }))}
14 />
15 </>
16);
17
18export default Demo;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…