ant-design/components/drawer/demo/render-panel.md
二货机器人 0dc7c99e7d
feat: PurePanel and refactor naming (#36834)
* docs: PurePanel

* docs: Update API

* docs: Update doc

* chore: correct style naming

* test: Update snapshot
2022-08-01 23:20:04 +08:00

589 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 () => (
  <InternalDrawer title="Hello Title" style={{ height: 300, boxShadow: '0 0 5px red' }}>
    Hello Content
  </InternalDrawer>
);