Browse Source

Update motivation-solution.js (#1625)

Removed unused props for clarity.
main
Ruslan Petrov 5 years ago
committed by GitHub
parent
commit
d58c947b1e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/context/motivation-solution.js

2
examples/context/motivation-solution.js

@ -21,7 +21,7 @@ class App extends React.Component {
// highlight-range{1,2}
// A component in the middle doesn't have to
// pass the theme down explicitly anymore.
function Toolbar(props) {
function Toolbar() {
return (
<div>
<ThemedButton />

Loading…
Cancel
Save