mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
1 line
915 B
JavaScript
1 line
915 B
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["9e535c4f"],{"9e535c4f":function(e,a,i){"use strict";i.d(a,"__esModule",{value:!0}),i.d(a,"default",{enumerable:!0,get:function(){return n;}});var l=i("f19d2b93");i("68425bf8");var t=i("5b220c3d"),d=i("a9d1a279");let{RangePicker:s}=d.DatePicker;var n=()=>{let[e,a]=(0,t.useState)("middle");return(0,l.jsxs)(d.Space,{direction:"vertical",size:12,children:[(0,l.jsxs)(d.Radio.Group,{value:e,onChange:e=>{a(e.target.value);},children:[(0,l.jsx)(d.Radio.Button,{value:"large",children:"Large"}),(0,l.jsx)(d.Radio.Button,{value:"middle",children:"middle"}),(0,l.jsx)(d.Radio.Button,{value:"small",children:"Small"})]}),(0,l.jsx)(d.DatePicker,{size:e}),(0,l.jsx)(d.DatePicker,{size:e,picker:"month"}),(0,l.jsx)(s,{size:e}),(0,l.jsx)(d.DatePicker,{size:e,picker:"week"})]});};}}]); |