@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
9 lines (8 loc) • 473 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
declare const buttonVariantPropTypeOptions: readonly ["primary", "secondary", "normal", "tertiary", "danger", "ghost", "custom"];
export type ButtonVariantPropType = (typeof buttonVariantPropTypeOptions)[number];
export type PropButtonVariant = {
variant: ButtonVariantPropType;
};
export declare const validateButtonVariant: (component: Generic.Element.Component, value?: ButtonVariantPropType) => void;
export {};