unika-components
Version:
Unika Vue3 components library
32 lines (31 loc) • 910 B
TypeScript
interface IndicatorProps {
position: 'top' | 'bottom' | 'left' | 'right';
style: 'dot' | 'number';
color: string;
activeColor: string;
size: number;
activeSize: number;
spacing: number;
}
export declare function useIndicatorStyle(props: IndicatorProps): {
indicatorStyle: import("vue").ComputedRef<{
right?: string | undefined;
top?: string | undefined;
transform?: string | undefined;
flexDirection?: string | undefined;
left?: string | undefined;
bottom?: string | undefined;
position: string;
display: string;
alignItems: string;
justifyContent: string;
zIndex: number;
transition: string;
}>;
activeDotStyle: import("vue").ComputedRef<{
width: string;
height: string;
backgroundColor: string;
}>;
};
export {};