mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +08:00
2b15bdafac
* fix: Drawer PurePanel style missing * docs: clean up useless demo code
650 B
650 B
order | title | debug | ||||
---|---|---|---|---|---|---|
99 |
|
true |
zh-CN
调试用组件,请勿直接使用。
en-US
Debug usage. Do not use in your production.
import React from 'react';
import { Drawer } from 'antd';
/** Test usage. Do not use in your production. */
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalDrawer } = Drawer;
export default () => (
<div style={{ padding: 32, background: '#e6e6e6' }}>
<InternalDrawer title="Hello Title" style={{ height: 300 }} footer="Footer!">
Hello Content
</InternalDrawer>
</div>
);