mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
34af3ec550
* feat: component token naming rules * dcos: update * feat: modal token rename * feat: rename result token * feat: statsitic token rename * feat: steps token remane * chore: update snapshot * chore: fix lint * feat: semantic part component * revert: button & notification * revert: files * chore: code clean
21 lines
469 B
TypeScript
21 lines
469 B
TypeScript
import React from 'react';
|
|
import { ConfigProvider, message } from 'antd';
|
|
|
|
/** Test usage. Do not use in your production. */
|
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPanel } = message;
|
|
|
|
export default () => (
|
|
<ConfigProvider
|
|
theme={{
|
|
components: {
|
|
Message: {
|
|
contentPadding: 40,
|
|
contentBg: '#e6f4ff',
|
|
},
|
|
},
|
|
}}
|
|
>
|
|
<InternalPanel content="Hello World!" type="error" />
|
|
</ConfigProvider>
|
|
);
|