|
const defaultStyles = { |
|
height: '100%', |
|
width: '100%', |
|
}; |
|
const styles = { ...defaultStyles, ...this.props.style }; |
|
return ( |
|
<div style={styles}> |
|
{this.props.children} |
|
</div> |
|
); |
|
} |
Since Loop doesn't say anything about rendering, maybe we could change this div to React.Fragment?
I'm happy to make a PR if it's okay.