UNPKG

@vue-nextui/button

Version:

```bash npm add @vue-nextui/button @nextui-org/theme ```

40 lines (39 loc) 1.51 kB
import * as vue0 from "vue"; import { Component } from "vue"; import { ButtonVariantProps } from "@heroui/theme"; import { HTMLNextUIVueProps } from "@vue-nextui/shared"; //#region src/use-button.d.ts interface ButtonDefineProps extends HTMLNextUIVueProps<"button"> { isLoading?: boolean; disableRipple?: boolean; spinnerPlacement?: "start" | "end"; } interface ButtonVariantProps$1 { variant?: ButtonVariantProps["variant"]; size?: ButtonVariantProps["size"]; color?: ButtonVariantProps["color"]; radius?: ButtonVariantProps["radius"]; fullWidth?: ButtonVariantProps["fullWidth"]; isDisabled?: ButtonVariantProps["isDisabled"]; isIconOnly?: ButtonVariantProps["isIconOnly"]; disableAnimation?: ButtonVariantProps["disableAnimation"]; } interface ButtonAriaProps {} type ButtonProps = ButtonDefineProps & ButtonVariantProps$1 & ButtonAriaProps; //#endregion //#region src/Button.vue.d.ts type __VLS_Slots = { default(): Component; startContent(): Component; endContent(): Component; spinner(): Component; }; declare const __VLS_component: vue0.DefineComponent<ButtonProps, void, {}, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue0.ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; }; //#endregion export { _default as Button };