vuestic-ui
Version:
Vue 3 UI Framework
17 lines (16 loc) • 631 B
TypeScript
import { Ref, PropType, ExtractPropTypes } from 'vue';
import type { SelectDropdownIcon } from '../types';
export declare const useToggleIconProps: {
dropdownIcon: {
type: PropType<string | SelectDropdownIcon>;
default: () => SelectDropdownIcon;
validator: (value: string | SelectDropdownIcon) => boolean;
};
};
export declare const useToggleIcon: (props: ExtractPropTypes<typeof useToggleIconProps> & {
readonly: boolean;
color: string;
}, showDropdownContent: Ref<boolean>) => {
toggleIcon: import("vue").ComputedRef<string>;
toggleIconColor: import("vue").ComputedRef<string>;
};