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