mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 04:12:34 +00:00
Fix syntax
This commit is contained in:
@@ -6,7 +6,7 @@ function ThemedButton(props) {
|
||||
<ThemeContext.Consumer>
|
||||
{theme => (
|
||||
<button
|
||||
{this.props}
|
||||
{...props}
|
||||
style={{backgroundColor: theme.background}}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user