PHP 8.2.30
Preview: TransWithoutContext.d.ts Size: 1.11 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/react-i18next/TransWithoutContext.d.ts

import { i18n, TFuncKey, Namespace, TypeOptions, TFunction, KeyPrefix } from 'i18next';
import * as React from 'react';

type DefaultNamespace = TypeOptions['defaultNS'];

type TransChild = React.ReactNode | Record<string, unknown>;
export type TransProps<
  K extends TFuncKey<N, TKPrefix> extends infer A ? A : never,
  N extends Namespace = DefaultNamespace,
  TKPrefix = undefined,
  E = React.HTMLProps<HTMLDivElement>
> = E & {
  children?: TransChild | TransChild[];
  components?: readonly React.ReactElement[] | { readonly [tagName: string]: React.ReactElement };
  count?: number;
  context?: string;
  defaults?: string;
  i18n?: i18n;
  i18nKey?: K | K[];
  ns?: N;
  parent?: string | React.ComponentType<any> | null; // used in React.createElement if not null
  tOptions?: {};
  values?: {};
  shouldUnescape?: boolean;
  t?: TFunction<N, TKPrefix>;
};

export function Trans<
  K extends TFuncKey<N, TKPrefix> extends infer A ? A : never,
  N extends Namespace = DefaultNamespace,
  TKPrefix extends KeyPrefix<N> = undefined,
  E = React.HTMLProps<HTMLDivElement>
>(props: TransProps<K, N, TKPrefix, E>): React.ReactElement;

Directory Contents

Dirs: 2 × Files: 12

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2026-02-28 00:28:36
Edit Download
src DIR
- drwxr-xr-x 2026-02-28 00:29:14
Edit Download
39.41 KB lrw-r--r-- 2026-02-28 00:29:22
Edit Download
3.03 KB lrw-r--r-- 2026-02-28 00:29:22
Edit Download
25.44 KB lrw-r--r-- 2026-02-28 00:28:20
Edit Download
3.95 KB lrw-r--r-- 2026-02-28 00:29:22
Edit Download
94 B lrw-r--r-- 2026-02-28 00:29:30
Edit Download
1.05 KB lrw-r--r-- 2026-02-28 00:26:32
Edit Download
6.42 KB lrw-r--r-- 2026-02-28 00:29:16
Edit Download
37.94 KB lrw-r--r-- 2026-02-28 00:28:40
Edit Download
17.16 KB lrw-r--r-- 2026-02-28 00:28:44
Edit Download
10.71 KB lrw-r--r-- 2026-02-28 00:29:22
Edit Download
1.11 KB lrw-r--r-- 2026-02-28 00:29:32
Edit Download
438 B lrw-r--r-- 2026-02-28 00:29:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).