import React from 'react' import {SvgProps} from 'react-native-svg' import {atoms as a, useTheme, web} from '#/alf' import {PressableWithHover} from '../../../PressableWithHover' export function ControlButton({ active, activeLabel, inactiveLabel, activeIcon: ActiveIcon, inactiveIcon: InactiveIcon, onPress, }: { active: boolean activeLabel: string inactiveLabel: string activeIcon: React.ComponentType> inactiveIcon: React.ComponentType> onPress: () => void }) { const t = useTheme() return ( {active ? ( ) : ( )} ) }