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