ant-design/components/drawer/demo/render-panel.md
二货爱吃白萝卜 2b15bdafac
fix: Drawer PurePanel style missing (#37946)
* fix: Drawer PurePanel style missing

* docs: clean up useless demo code
2022-10-11 20:59:40 +08:00

650 B

order title debug
99
zh-CN en-US
_InternalPanelDoNotUseOrYouWillBeFired _InternalPanelDoNotUseOrYouWillBeFired
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>
);