mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
970 B
JavaScript
1 line
970 B
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["938829e9"],{"938829e9":function(e,t,a){"use strict";a.d(t,"__esModule",{value:!0}),a.d(t,"default",{enumerable:!0,get:function(){return u;}});var o=a("f19d2b93");a("6ee9ae25");var l=a("5b220c3d"),n=a("a9d1a279");let{RangePicker:i}=n.DatePicker;var u=()=>{let[e,t]=(0,l.useState)("topLeft");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(n.Radio.Group,{value:e,onChange:e=>{t(e.target.value);},children:[(0,o.jsx)(n.Radio.Button,{value:"topLeft",children:"topLeft"}),(0,o.jsx)(n.Radio.Button,{value:"topRight",children:"topRight"}),(0,o.jsx)(n.Radio.Button,{value:"bottomLeft",children:"bottomLeft"}),(0,o.jsx)(n.Radio.Button,{value:"bottomRight",children:"bottomRight"})]}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)(n.DatePicker,{placement:e}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)(i,{placement:e})]});};}}]); |