xverse-components-utils
Version:
xverse components utils
5 lines (4 loc) • 385 B
TypeScript
import { SVGProps, ImgHTMLAttributes } from 'react';
export type SVGType = (props: SVGProps<SVGSVGElement>) => JSX.Element;
export declare const renderImgOrSVG: (image: SVGType | string, props?: SVGProps<SVGSVGElement> | ImgHTMLAttributes<HTMLImageElement>) => import("react").JSX.Element;
export declare const renderTextWithLineBreak: (text: string) => import("react").JSX.Element[];