@cn-ui/core
Version:
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
14 lines (13 loc) • 491 B
TypeScript
import { type JSXSlot } from "@cn-ui/reactive";
export interface AlertProps {
closable?: boolean;
icon?: boolean | JSXSlot;
message: JSXSlot;
border?: boolean;
round?: boolean;
description?: JSXSlot;
type?: "success" | "info" | "warning" | "error";
afterClose?: () => void;
onClose?: (e: MouseEvent) => void;
}
export declare const Alert: import("solid-js").Component<import("@cn-ui/reactive").OriginComponentOutputType<AlertProps, HTMLElement, string>>;