dk-plus
Version:
30 lines (29 loc) • 1.55 kB
TypeScript
import type { dkPlusSize, ClassListName } from '../_interface';
import type { returnType } from '../_utils/props';
import type { DefineComponent, PropType, ComputedRef, CSSProperties, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
import type { Install } from '../_utils/withInstall';
import Space from "./src/dkspace";
export declare const DkSpace: Install<DefineComponent<{
readonly vertical: returnType<BooleanConstructor, boolean>;
readonly nowrap: returnType<BooleanConstructor, boolean>;
readonly spacingType: returnType<PropType<dkPlusSize>, dkPlusSize | null>;
readonly portRait: returnType<PropType<string>, string | null>;
readonly landScape: returnType<PropType<string>, string | null>;
}, {
classList: ComputedRef<ClassListName>;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
readonly vertical: returnType<BooleanConstructor, boolean>;
readonly nowrap: returnType<BooleanConstructor, boolean>;
readonly spacingType: returnType<PropType<dkPlusSize>, dkPlusSize | null>;
readonly portRait: returnType<PropType<string>, string | null>;
readonly landScape: returnType<PropType<string>, string | null>;
}>>, {
readonly vertical: boolean;
readonly nowrap: boolean;
readonly spacingType: dkPlusSize;
readonly portRait: string;
readonly landScape: string;
}, {}>>;
export type SpaceInstance = InstanceType<typeof Space>;
export default DkSpace;