mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
24 lines
478 B
TypeScript
24 lines
478 B
TypeScript
import React from 'react';
|
|
import { ConfigProvider, Skeleton } from 'antd';
|
|
|
|
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;
|