import React from 'react';
export default class ComboBoxControl extends React.Component {
render() {
let {onChange, value, includeNonExistent, children} = this.props;
let nonExistent = null;
if (includeNonExistent) {
let needsInclusion = false;
React.Children.forEach(children, opt => {
if (opt.value === value) {
needsInclusion = false;
}
});
if (needsInclusion) {
nonExistent = {value ? value+'' : ''};
}
}
return
}
}
export function ComboBoxOption({children, value}) {
return
}