Fix syntax

This commit is contained in:
Alex Krolick
2018-03-23 13:55:35 -07:00
parent b0e860404b
commit 8437e3767b

View File

@@ -6,7 +6,7 @@ function ThemedButton(props) {
<ThemeContext.Consumer>
{theme => (
<button
{this.props}
{...props}
style={{backgroundColor: theme.background}}
/>
)}