mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
812 B
JavaScript
1 line
812 B
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["fc0695af"],{fc0695af:function(e,l,a){"use strict";a.d(l,"__esModule",{value:!0}),a.d(l,"default",{enumerable:!0,get:function(){return s;}});var t=a("777fffbe"),d=a("f19d2b93");a("004dd1d4");var u=t._(a("5b220c3d")),o=a("a9d1a279");let{_InternalPanelDoNotUseOrYouWillBeFired:n}=o.AutoComplete;var s=()=>{let[e,l]=u.default.useState(!1);return(0,d.jsxs)(o.Space,{direction:"vertical",style:{display:"flex"},children:[(0,d.jsx)(o.Switch,{checked:e,onChange:()=>l(!e)}),(0,d.jsx)(n,{defaultValue:"lucy",style:{width:120},open:e,options:[{label:"Jack",value:"jack"},{label:"Lucy",value:"lucy"},{label:"Disabled",value:"disabled"},{label:"Bamboo",value:"bamboo"}]})]});};}}]); |