()
| 3 | import '../../assets/index.less'; |
| 4 | |
| 5 | const 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 | |
| 18 | export default Demo; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…