21 lines
421 B
TypeScript
Executable File
21 lines
421 B
TypeScript
Executable File
import { ReactNode } from "react";
|
|
|
|
export type PTProp = {
|
|
name?: string;
|
|
child?: ReactNode;
|
|
header?: ReactNode;
|
|
body?: ReactNode;
|
|
on_click?: () => void;
|
|
tab: "string";
|
|
PassProp: any;
|
|
item: PrasiItem;
|
|
pt: PTLocalInternal;
|
|
deps?: any;
|
|
};
|
|
|
|
export type PTLocalInternal = {
|
|
mode: string;
|
|
deps?: any
|
|
};
|
|
export type PTLocal = PTLocalInternal & { render: (force?: boolean) => void };
|