UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

25 lines (24 loc) 758 B
import { type FunctionalComponent as FC } from '../../stencil-public-runtime'; import type { ButtonVariantPropType } from '../../schema'; import { type ButtonProps } from '../Button'; type IconType = { componentName: 'icon'; icon?: string; class?: string; label?: string; style?: { [key: string]: string; }; onClick?: (event: MouseEvent) => void; }; type ButtonType = Partial<Omit<ButtonProps, 'icons'>> & { componentName: 'button'; icon?: string; label?: string; class?: string; buttonVariant?: ButtonVariantPropType; onClick?: (event: MouseEvent) => void; }; export type IconButtonProps = IconType | ButtonType; declare const KolIconButtonFc: FC<IconButtonProps>; export default KolIconButtonFc;