UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

24 lines (23 loc) 722 B
import type { LoaderStatus } from 'src/components/loader/Loader.vue'; import type { PropType, Ref } from 'vue'; export interface InteractiveProps { disabled?: boolean; loading?: boolean; loadingLabel?: string; loadingStatus?: LoaderStatus; } export declare const useInteractive: { (el: Ref<HTMLElement | null>): { focus: () => void | undefined; blur: () => void | undefined; }; props(): { readonly disabled: BooleanConstructor; readonly loading: BooleanConstructor; readonly loadingLabel: StringConstructor; readonly loadingStatus: { readonly type: PropType<LoaderStatus>; readonly default: "active"; }; }; };