mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 00:49:39 +08:00
1 line
758 B
JavaScript
1 line
758 B
JavaScript
|
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["64863b74"],{"64863b74":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return u;}});var s=a("f19d2b93");a("246067e2");var l=a("5b220c3d"),n=a("a9d1a279");let o=(e,t=1)=>({value:e.repeat(t)});var u=()=>{let[e,t]=(0,l.useState)([]),[a,u]=(0,l.useState)([]),i=e=>e?[o(e),o(e,2),o(e,3)]:[];return(0,s.jsxs)(n.Space,{direction:"vertical",style:{width:"100%"},children:[(0,s.jsx)(n.AutoComplete,{options:e,onSearch:e=>t(i(e)),status:"error",style:{width:200}}),(0,s.jsx)(n.AutoComplete,{options:a,onSearch:e=>u(i(e)),status:"warning",style:{width:200}})]});};}}]);
|