import { createElement, Fragment } from "react"; /** * Internal dependencies */ import RadioCell from '../mobile/bottom-sheet/radio-cell'; function RadioControl({ onChange, selected, options = [], ...props }) { return createElement(Fragment, null, options.map((option, index) => { return createElement(RadioCell, { label: option.label, onPress: () => onChange(option.value), selected: option.value === selected, key: `${option.value}-${index}`, ...props }); })); } export default RadioControl; //# sourceMappingURL=index.native.js.map