narraleaf-react
Version:
A React visual novel player framework
37 lines (36 loc) • 1.26 kB
TypeScript
import React from "react";
import { DivElementProp } from "../../nlcore/elements/transition/type";
type InspectStyle = {
border?: "solid" | "dashed" | "dotted";
borderWidth?: number;
color?: React.CSSProperties["color"];
};
declare function InspectDiv(props: Readonly<DivElementProp & {
children?: React.ReactNode;
tag?: string;
} & InspectStyle>): React.JSX.Element;
declare function InspectSpan(props: Readonly<DivElementProp & {
children?: React.ReactNode;
tag?: string;
} & InspectStyle>): React.JSX.Element;
declare function InspectImg(props: Readonly<DivElementProp & {
tag?: string;
} & InspectStyle>): React.JSX.Element;
declare function InspectButton(props: Readonly<DivElementProp & {
children?: React.ReactNode;
tag?: string;
} & InspectStyle>): React.JSX.Element;
declare function InspectFramerMotionDiv(props: Readonly<DivElementProp & {
children?: React.ReactNode;
tag?: string;
ref?: React.RefObject<HTMLDivElement | null>;
layout?: boolean;
} & InspectStyle>): React.JSX.Element;
declare const Inspect: {
Div: typeof InspectDiv;
Span: typeof InspectSpan;
Button: typeof InspectButton;
Img: typeof InspectImg;
mDiv: typeof InspectFramerMotionDiv;
};
export default Inspect;