@lui-ui/lui-vue
Version:
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
23 lines (22 loc) • 1.02 kB
TypeScript
import type { Ref } from 'vue';
import type { Clear } from '../input-types';
import type { Block, Description, Rounded, Size, State, StateIcon } from '../../../globals/types';
interface PropTypes {
size: Ref<Size>;
rounded: Ref<Rounded>;
state?: Ref<State>;
stateIcon?: Ref<StateIcon>;
block: Ref<Block>;
clear?: Ref<Clear>;
description?: Ref<Description>;
}
export declare function useInputClasses(props: PropTypes, attrs: any): {
wrapperClasses: import("vue").ComputedRef<(string | object | null)[]>;
inputClasses: import("vue").ComputedRef<(string | object | null)[]>;
prependClasses: import("vue").ComputedRef<(string | object | null)[]>;
appendClasses: import("vue").ComputedRef<(string | object | null)[]>;
stateIconClasses: import("vue").ComputedRef<(string | object | null)[]>;
closeIconClasses: import("vue").ComputedRef<(string | object | null)[]>;
iconStatus: import("vue").ComputedRef<"twoIcon" | "rightIcon" | "leftIcon" | "noIcon">;
};
export {};