@lucsoft/webgen
Version:
Collection of lucsofts Components
19 lines (18 loc) • 602 B
TypeScript
import { ButtonStyle } from "../../types/actions";
import { CommonCard } from "../../types/card";
import { HTMLStringy } from "../../types/html";
import '../../css/cards.rich.webgen.static.css';
import { Color } from "../../lib/Color";
export declare const richCard: (options: {
title: HTMLStringy;
content: (HTMLStringy)[] | (HTMLStringy);
buttonListLeftArea?: HTMLElement;
buttons?: {
title: string;
action: (() => void) | (() => Promise<void>);
variant?: ButtonStyle;
color?: Color;
}[];
width?: number;
height?: number;
}) => CommonCard;