import React from 'react' import {View, ViewProps} from 'react-native' import {atoms as a, useTheme} from '#/alf' import {Button} from './Button' import {Text} from './Typography' export function RadioGroup({ value, onSelect, items, ...props }: ViewProps & { value: T onSelect: (value: T) => void items: Array<{label: string; value: T}> }) { return ( {items.map(item => ( ))} ) } function RadioIcon({selected}: {selected: boolean}) { const t = useTheme() return ( {selected && ( )} ) }