react-xml-viewer
Version:
Simple xml viewer component for React
14 lines (13 loc) • 388 B
TypeScript
import { ReactNode } from 'react';
import { AttributesObject } from 'types';
export interface TagProps {
indentation: string;
tagKey: string;
attributes: AttributesObject;
children: ReactNode;
isInline: boolean;
hasChildren: boolean;
level: number;
keyValue: string;
}
export declare function Tag(props: TagProps): import("react/jsx-runtime").JSX.Element;