UNPKG

@public-ui/components

Version:

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

20 lines (19 loc) 662 B
import { type FunctionalComponent as FC } from '../../stencil-public-runtime'; import { type ButtonProps } from '../Button'; import { type IconProps } from '../Icon'; type IconType = Partial<Omit<IconProps, 'icons'>> & { componentName: 'icon'; icon?: string; class?: string; onClick?: (event: MouseEvent) => void; }; type ButtonType = Partial<Omit<ButtonProps, 'icons'>> & { componentName: 'button'; icon?: string; label?: string; class?: string; onClick?: (event: MouseEvent) => void; }; export type IconButtonProps = IconType | ButtonType; declare const KolIconButtonFc: FC<IconButtonProps>; export default KolIconButtonFc;