mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
954 B
JavaScript
1 line
954 B
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["e76d42d0"],{e76d42d0:function(e,l,o){"use strict";o.d(l,"__esModule",{value:!0}),o.d(l,"default",{enumerable:!0,get:function(){return d;}});var t=o("f19d2b93");o("209168cd");var a=o("5b220c3d"),s=o("a9d1a279");let n=(e,l=1)=>({value:e.repeat(l)});var d=()=>{let[e,l]=(0,a.useState)([]),o=e=>e?[n(e),n(e,2),n(e,3)]:[];return(0,t.jsxs)(s.Flex,{vertical:!0,gap:12,children:[(0,t.jsx)(s.AutoComplete,{options:e,style:{width:200},placeholder:"Outlined",onSearch:e=>l(o(e)),onSelect:globalThis.console.log}),(0,t.jsx)(s.AutoComplete,{options:e,style:{width:200},placeholder:"Filled",onSearch:e=>l(o(e)),onSelect:globalThis.console.log,variant:"filled"}),(0,t.jsx)(s.AutoComplete,{options:e,style:{width:200},placeholder:"Borderless",onSearch:e=>l(o(e)),onSelect:globalThis.console.log,variant:"borderless"})]});};}}]); |