MCPcopy Create free account
hub / github.com/i18next/react-i18next / generateArrayComponents

Function generateArrayComponents

src/TransWithoutContext.js:414–415  ·  view source on GitHub ↗
(components, translation)

Source from the content-addressed store, hash-verified

412};
413
414const generateArrayComponents = (components, translation) =>
415 components.map((c, index) => fixComponentProps(c, index, translation));
416
417const generateObjectComponents = (components, translation) => {
418 const componentMap = {};

Callers 1

generateComponentsFunction · 0.70

Calls 1

fixComponentPropsFunction · 0.70

Tested by

no test coverage detected