// highlight-range{1} const ColorContext = React.createContext(); class Button extends React.Component { render() { // highlight-range{2-8} return ( {color => ( )} ); } } class Message extends React.Component { render() { return (

{this.props.text}

); } } class MessageList extends React.Component { render() { const color = 'purple'; const children = this.props.messages.map(message => ( )); // highlight-range{2-4} return ( {children} ); } }