Slot component wraps in inline element, not block (which can affect other styles)

This commit is contained in:
Benjamin Goering
2017-04-11 14:20:38 -07:00
parent 58ffd61884
commit 0dff670b70
+2 -2
View File
@@ -5,9 +5,9 @@ class Slot extends Component {
render() {
const {fill, ...rest} = this.props;
return (
<div>
<span>
{getSlotElements(fill, rest)}
</div>
</span>
);
}
}