hunk.code_window:   return (
       <div
         className={cx(
           emotionCss(getStyles('option', props)),
           {
             'option': true,
             'option--is-disabled': isDisabled,
  
hunk.labels: keep add keep keep keep keep keep
hunk.after_edit:       ref={innerRef}
  
hunk.file_path: src/components/Option.js
hunk.type: add
file: // @flow
  
  import { Component, type Element, type ElementRef } from 'react';
  import { findDOMNode } from 'react-dom';
  
  type Props = {
    children: Element<*>,
    innerRef: ElementRef<*>,
  };
  
  export default class NodeResolver extends Component<Props> {
    componentDidMount() {
      this.props.innerRef(findDOMNode(this));
    }
    componentWillUnmount() {
      this.props.innerRef(null);
    }
    render() {
      return this.props.children;
    }
  }
  