vuestic-ui
Version:
Vue 3 UI Framework
10 lines (9 loc) • 413 B
TypeScript
import { Ref, ComputedRef } from 'vue';
type UseButtonBackground = (colorComputed: Ref<string>, isPressed: Ref<boolean>, isHovered: Ref<boolean>) => {
backgroundMaskOpacity: ComputedRef<number>;
backgroundMaskColor: ComputedRef<string>;
backgroundColor: ComputedRef<string>;
backgroundColorOpacity: ComputedRef<number>;
};
export declare const useButtonBackground: UseButtonBackground;
export {};