mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 08:59:40 +08:00
65d7a5b943
* feat: migrate less to token for Message * docs: update docs * feat: add debug demo * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: update snapshots * Update docs/react/migrate-less-variables.en-US.md Co-authored-by: MadCcc <1075746765@qq.com> * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code * feat: optimize code --------- Co-authored-by: MadCcc <1075746765@qq.com>
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;
|