t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
84 lines (83 loc) • 2.79 kB
TypeScript
import type { DividerPositionType, DividerType } from './src/interface.d';
import type { DefineComponent, PropType, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import type { InstallType } from '../_interface';
import Divider from "./src/divider";
export declare const FDivider: InstallType<DefineComponent<{
readonly position: {
readonly type: PropType<DividerPositionType>;
readonly default: () => DividerPositionType;
readonly validator: (value: DividerPositionType) => boolean;
};
readonly vertical: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly fontColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly margin: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly type: {
readonly type: PropType<DividerType>;
readonly validator: (value: DividerType) => boolean;
readonly default: () => DividerType;
};
}, {
prop: {
readonly position?: unknown;
readonly vertical?: unknown;
readonly color?: unknown;
readonly fontColor?: unknown;
readonly margin?: unknown;
readonly background?: unknown;
readonly type?: unknown;
} & {
type: DividerType;
background: string;
color: string;
fontColor: string;
vertical: boolean;
position: DividerPositionType;
margin: string;
} & {};
renderSlot: ComputedRef<boolean>;
dividerStyle: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly position?: unknown;
readonly vertical?: unknown;
readonly color?: unknown;
readonly fontColor?: unknown;
readonly margin?: unknown;
readonly background?: unknown;
readonly type?: unknown;
} & {
type: DividerType;
background: string;
color: string;
fontColor: string;
vertical: boolean;
position: DividerPositionType;
margin: string;
} & {}>, {
type: DividerType;
background: string;
color: string;
fontColor: string;
vertical: boolean;
position: DividerPositionType;
margin: string;
}>>;
export declare type DividerInstance = InstanceType<typeof Divider>;
export * from './src/interface.d';
export default Divider;