UNPKG

matrix-react-sdk

Version:
9 lines (8 loc) 378 B
import { ReactNode } from "react"; /** * Joins an array into one value with a joiner. E.g. join(["hello", "world"], " ") -> <span>hello world</span> * @param array the array of element to join * @param joiner the string/JSX.Element to join with * @returns the joined array */ export declare function jsxJoin(array: ReactNode[], joiner?: string | JSX.Element): JSX.Element;