refactor: remove default container of built-in Slot component, fixes #993

This commit is contained in:
LeoYuan 袁力皓 2022-09-08 11:38:56 +08:00 committed by 刘菊萍(絮黎)
parent 6a6156a38d
commit 2dbd66cb28

View File

@ -51,7 +51,7 @@ class Slot extends Component {
render() { render() {
const { children } = this.props; const { children } = this.props;
return <div className="lc-container">{children}</div>; return <>{children}</>;
} }
} }