Brian Vaughn
7 years ago
2 changed files with 9 additions and 7 deletions
@ -1,8 +1,9 @@ |
|||||
// After
|
// After
|
||||
class ExampleComponent extends React.Component { |
class ExampleComponent extends React.Component { |
||||
// highlight-range{1-4}
|
// highlight-range{1-5}
|
||||
state = { |
state = { |
||||
currentColor: this.props.defaultColor, |
currentColor: this.props |
||||
palette: 'rgb' |
.defaultColor, |
||||
|
palette: 'rgb', |
||||
}; |
}; |
||||
} |
} |
||||
|
Loading…
Reference in new issue