Send files directly between devices over the internet - no cloud storage, no size limits.
TypeScript cross-platformdata-transferdecentralizedfile-sharingfile-transferhole-punchingopen-sourcep2ppeer-to-peerprivacyprivacy-tools
import { useTheme } from '../theme'
// RN can't resolve `currentColor`, so fall back to the theme's text color.
export function useIconColor(color: string | undefined): string {
const { theme } = useTheme()
if (!color || color === 'currentColor') {
return theme.colors.colorTextSecondary
}
return color
}