UNPKG

lingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

28 lines (27 loc) 1.18 kB
import { ComponentChildren } from "preact"; import Appendable from "../../../display/core/Appendable"; import MeshAppendable from "../../../display/core/MeshAppendable"; import { Object3D } from "three"; import { Signal } from "@preact/signals"; export type Props = { label?: string; selected?: boolean; children?: ComponentChildren; onCollapse?: () => void; onExpand?: () => void; onClick?: (e: MouseEvent) => void; onMouseDown?: (e: MouseEvent) => void; onContextMenu?: (e: MouseEvent) => void; onDrop?: (draggingItem: Appendable | MeshAppendable) => void; onDragStart?: () => void; onDragEnd?: () => void; myDraggingItem?: Appendable | MeshAppendable | Object3D; draggable?: boolean; expandedSignal?: Signal<boolean>; expandable?: boolean; outlined?: boolean; IconComponent?: any; height?: number; }; declare const BaseTreeItem: ({ label, children, selected, onCollapse, onExpand, onClick, onMouseDown, onContextMenu, onDrop, onDragStart, onDragEnd, myDraggingItem, draggable, expandedSignal, expandable, outlined, IconComponent, height }: Props) => import("preact").JSX.Element; export default BaseTreeItem;