mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
1.4 KiB
JavaScript
1 line
1.4 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["addcecf1"],{addcecf1:function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return s;}});var i=l("777fffbe"),a=l("f19d2b93");l("970b23c8");var d=l("a9d1a279"),r=i._(l("072ab8a9"));let{RangePicker:n}=d.DatePicker;var s=()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.ConfigProvider,{theme:{components:{DatePicker:{presetsWidth:160,zIndexPopup:888,cellHoverWithRangeBg:"#f0f0f0",cellActiveWithRangeBg:"#e6bbff",cellRangeBorderColor:"green",timeColumnWidth:80,timeColumnHeight:250,timeCellHeight:30,cellWidth:64,cellHeight:40,textHeight:45,withoutTimeCellHeight:70}}},children:(0,a.jsxs)(d.Space,{direction:"vertical",children:[(0,a.jsx)(d.DatePicker,{presets:[{label:"Yesterday",value:(0,r.default)().add(-1,"d")},{label:"Last Week",value:(0,r.default)().add(-7,"d")},{label:"Last Month",value:(0,r.default)().add(-1,"month")}]}),(0,a.jsx)(n,{}),(0,a.jsx)(d.TimePicker,{}),(0,a.jsx)(d.DatePicker,{picker:"month"})]})}),(0,a.jsx)(d.Divider,{}),(0,a.jsx)(d.ConfigProvider,{theme:{components:{DatePicker:{controlHeightSM:32,controlHeight:40}}},children:(0,a.jsxs)(d.Flex,{vertical:!0,gap:8,children:[(0,a.jsx)(d.DatePicker,{multiple:!0,size:"small"}),(0,a.jsx)(d.DatePicker,{multiple:!0}),(0,a.jsx)(d.DatePicker,{multiple:!0,size:"large"})]})})]});}}]); |