ant-design/components/message/demo/render-panel.md
二货机器人 b53b4cf620
chore: Add pure component of message (#35931)
* feat: Add pure component of message

* test: Updare snapshot
2022-06-07 23:29:12 +08:00

378 B

order title debug
99
zh-CN en-US
纯粹容器 PurePanel
true

zh-CN

调试用组件,请勿直接使用。

en-US

Debug usage. Do not use in your production.

import { message } from 'antd';
import React from 'react';

const { _RenderPanel: RenderPanel } = message;

export default () => <RenderPanel content="Hello World!" type="error" />;