element-pro-components
Version:
a component library for Vue 3 base on element-plus
13 lines (12 loc) • 411 B
TypeScript
import { ComputedRef, Ref } from 'vue';
import type { ColProps } from 'element-plus';
type IColProps = Partial<Omit<ColProps, 'tag'>>;
export declare function useCol(props: Readonly<IColProps> | IColProps | Ref<IColProps>): {
colStyle: ComputedRef<{
paddingLeft?: string;
paddingRight?: string;
}>;
colClass: ComputedRef<string[]>;
gutter: Ref<number | undefined>;
};
export {};