2023-05-22 09:36:14 +08:00
|
|
|
import React from 'react';
|
2023-07-28 16:17:43 +08:00
|
|
|
import { ConfigProvider, Timeline } from 'antd';
|
2023-05-22 09:36:14 +08:00
|
|
|
|
|
|
|
const App: React.FC = () => (
|
|
|
|
<ConfigProvider
|
|
|
|
theme={{
|
|
|
|
components: {
|
|
|
|
Timeline: {
|
|
|
|
tailColor: 'red',
|
|
|
|
tailWidth: 10,
|
|
|
|
dotBorderWidth: 1,
|
|
|
|
dotBg: 'green',
|
|
|
|
itemPaddingBottom: 10,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<Timeline
|
|
|
|
items={[
|
|
|
|
{
|
|
|
|
children: 'Create a services site 2015-09-01',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
children: 'Solve initial network problems 2015-09-01',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
children: 'Technical testing 2015-09-01',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
children: 'Network problems being solved 2015-09-01',
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
</ConfigProvider>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default App;
|