UNPKG

flowbite-qwik

Version:

Official Qwik components built for Flowbite and Tailwind CSS

23 lines (22 loc) 843 B
import { Component, PropsOf } from '@builder.io/qwik'; import { ButtonGradient, ButtonMonochromeGradient, ButtonSize, ButtonVariant } from '../../components/Button/button-types'; import { type LinkProps } from '@builder.io/qwik-city'; import type { IconProps } from 'flowbite-qwik-icons'; export type ButtonProps = PropsOf<'button'> & PropsOf<'a'> & { color?: ButtonVariant; gradient?: ButtonGradient; size?: ButtonSize; shadow?: ButtonMonochromeGradient | boolean; pill?: boolean; square?: boolean; outline?: boolean; loading?: boolean; loadingPosition?: 'suffix' | 'prefix'; disabled?: boolean; href?: string; full?: boolean; tag?: Component<LinkProps> | string; prefix?: Component<IconProps>; suffix?: Component<IconProps>; }; export declare const Button: Component<ButtonProps>;