UNPKG

@cn-ui/core

Version:

The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.

13 lines (12 loc) 461 B
import { type Atom } from "@cn-ui/reactive"; import { FloatingArea } from "../Message/runtime"; import "../animation/opacity-fade.css"; export declare class MaskTemplate extends FloatingArea<unknown> { show: Atom<boolean>; events: (() => void)[]; onClick(event: () => void): void; /** 绑定数据模型 */ bindModel(model: Atom<boolean>): void; render(): import("solid-js").JSX.Element; } export declare const GlobalMask: MaskTemplate;