JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "mixed-text-20260314162822.tsx"

Full Path: /home/markqprx/iniasli.pro/client/i18n/mixed-text-20260314162822.tsx
File size: 379 bytes
MIME-type: text/plain
Charset: utf-8

import {MessageDescriptor} from './message-descriptor';
import {Trans} from './trans';
import {Fragment} from 'react';

interface Props {
  value?: string | MessageDescriptor | null;
}
export function MixedText({value}: Props) {
  if (!value) {
    return null;
  }
  if (typeof value === 'string') {
    return <Fragment>{value}</Fragment>;
  }
  return <Trans {...value} />;
}