@cn-ui/core
Version:
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
18 lines (17 loc) • 578 B
TypeScript
import { type Atom } from "@cn-ui/reactive";
import { type JSXElement } from "solid-js";
import "./index.css";
export interface CollapseProps {
activeKey?: Atom<string>;
collapsible?: boolean;
lazyMount?: boolean;
multiple?: boolean;
disabled?: boolean;
unmountOnExit?: boolean;
items: {
key: string;
label: JSXElement | (() => JSXElement);
children: JSXElement;
}[];
}
export declare const Collapse: import("solid-js").Component<import("@cn-ui/reactive").OriginComponentOutputType<CollapseProps, HTMLElement, string[]>>;