Render in this
setVisible(false)}
width={220}
getPopupContainer={getContainer}
>
This is the content of a basic sidesheet.
Here is more content...
);
};
```
### 自定义内容区域
可以通过自定义 `title`,`footer`(v>=1.3.0) 等创建出丰富的内容样式。
```jsx live=true hideInDSM
import React from 'react';
import { SideSheet, Form, Button, Typography, Banner } from '@douyinfe/semi-ui';
class Demo extends React.Component {
constructor() {
super();
this.state = { visible: false };
}
show() {
this.setState({
visible: true,
});
}
handleCancel(e) {
this.setState({
visible: false,
});
}
render() {
const {
DatePicker,
Select,
Radio,
RadioGroup,
} = Form;
const footer = (