ant-design/components/time-picker/demo/_semantic.tsx
thinkasany c90e7705f7
feat: ConfigProvider support classNames and styles for TimePicker / DatePicker (#53489)
* feat: ConfigProvider support classNames and styles for timepicker

* save

* empty

* add test

* bump

* fix

* fix

* improve type

* chore: refactor

* chore: clean up

* chore: memo

* docs: fix ts

* chore: update demo

* chore: all semantic

* chore: fix types

* chore: update demo

* test: update test case

* chore: fix ts

* test: fix test case

* test: fix test case

* chore: rm console

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-22 11:31:56 +08:00

17 lines
427 B
TypeScript

import React from 'react';
import { TimePicker } from 'antd';
import { PickerSemanticTemplate } from '../../date-picker/demo/_semantic';
const App: React.FC = () => {
return (
<PickerSemanticTemplate
singleComponent={['TimePicker', TimePicker]}
multipleComponent={['TimePicker.RangePicker', TimePicker.RangePicker]}
ignoreSemantics={['popup.header', 'popup.body']}
/>
);
};
export default App;