@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
9 lines (8 loc) • 403 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
declare const buttonTypePropTypeOptions: readonly ["button", "reset", "submit"];
export type ButtonTypePropType = (typeof buttonTypePropTypeOptions)[number];
export type PropButtonType = {
type: ButtonTypePropType;
};
export declare const validateButtonType: (component: Generic.Element.Component, value?: ButtonTypePropType) => void;
export {};