mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-24 12:41:15 +08:00

* 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>
17 lines
427 B
TypeScript
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;
|