@twa-dev/mark42
Version:
Mark42 is a simple lightweight tree-shakable UI library for [Telegram Web Apps (TWA)](https://core.telegram.org/bots/webapps).
12 lines (11 loc) • 323 B
TypeScript
import { CSSProperties } from "react";
export declare type Themes = "apple" | "material";
export declare type ColorSchemes = "light" | "dark";
export interface AppearanceProps {
theme?: Themes;
colorScheme?: ColorSchemes;
}
export interface BaseComponentProps {
className?: string;
style?: CSSProperties;
}