// @flow
import React from 'react';
import type { OptionProps } from './option.proptypes';

export const Option = <T>({ children, value, disabled }: OptionProps<T>) => (
  <option value={value} disabled={disabled}>
    {children}
  </option>
);
