mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
14 lines
399 B
TypeScript
14 lines
399 B
TypeScript
|
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>
|
||
|
);
|