mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 15:49:10 +08:00
24 lines
478 B
TypeScript
24 lines
478 B
TypeScript
|
import { ConfigProvider, Skeleton } from 'antd';
|
||
|
import React from 'react';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<ConfigProvider
|
||
|
theme={{
|
||
|
components: {
|
||
|
Skeleton: {
|
||
|
blockRadius: 30,
|
||
|
titleHeight: 50,
|
||
|
gradientFromColor: '#222',
|
||
|
gradientToColor: '#444',
|
||
|
paragraphMarginTop: 30,
|
||
|
paragraphLiHeight: 30,
|
||
|
},
|
||
|
},
|
||
|
}}
|
||
|
>
|
||
|
<Skeleton loading active />
|
||
|
</ConfigProvider>
|
||
|
);
|
||
|
|
||
|
export default App;
|