import { DatePicker, Space } from 'antd'; import React from 'react'; const { RangePicker } = DatePicker; const App: React.FC = () => ( { if (info.type !== 'date') return info.originNode; const style: React.CSSProperties = {}; if (current.date() === 1) { style.border = '1px solid #1677ff'; style.borderRadius = '50%'; } return (
{current.date()}
); }} /> { if (info.type !== 'date') return info.originNode; const style: React.CSSProperties = {}; if (current.date() === 1) { style.border = '1px solid #1677ff'; style.borderRadius = '50%'; } return (
{current.date()}
); }} />
); export default App;