Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

461 B
Raw Blame
import { LabeledContent, Section, Text } from '@expo/ui/swift-ui';
import { useTranslation } from 'react-i18next';

export function DeviceInformationFields({ fields }: { fields: string[][] }) {
  const { t } = useTranslation();
  return (
    <Section>
      {fields.map(([key, value]) => (
        <LabeledContent key={key} label={t(`devices.management.fields.${key}`)}>
          <Text>{value}</Text>
        </LabeledContent>
      ))}
    </Section>
  );
}