mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
Slot component wraps in inline element, not block (which can affect other styles)
This commit is contained in:
@@ -5,9 +5,9 @@ class Slot extends Component {
|
||||
render() {
|
||||
const {fill, ...rest} = this.props;
|
||||
return (
|
||||
<div>
|
||||
<span>
|
||||
{getSlotElements(fill, rest)}
|
||||
</div>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user