Strings
<ReText />
<ReText />() => {
const price = useSharedValue(42);
const formattedPrice = useDerivedValue(() => (`${price.value}`.toLocaleString('de-DE', { style: 'currency', currency: 'EUR' })));
return (
<ReText
text={formattedPrice}
style={{ color: "black", fontVariant: ["tabular-nums"] }}
/>
)
}Last updated