react-ui89
Version:
A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.
21 lines (20 loc) • 702 B
TypeScript
import React from "react";
import { Ui89Palette, Ui89Theme } from "../theme";
import "../style/typo.css";
import "../style/theme.css";
import "./Ui89TagBox.css";
export declare enum Ui89TagBoxPropsVariant {
solid = "solid",
outline = "outline",
ghost = "ghost",
soft = "soft",
dot = "dot",
gradient = "gradient",
underline = "underline"
}
export interface Ui89TagBoxProps {
theme: Ui89Theme | keyof typeof Ui89Theme | Ui89Palette | keyof typeof Ui89Palette;
variant?: Ui89TagBoxPropsVariant | keyof typeof Ui89TagBoxPropsVariant;
children: React.ReactNode;
}
export declare function Ui89TagBox({ theme, variant, children, }: Ui89TagBoxProps): React.JSX.Element;