t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
53 lines (52 loc) • 1.74 kB
TypeScript
import type { ListSizeType } from '..';
import type { DefineComponent, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import type { InstallType } from '../_interface';
import ListItem from "./src/list-item";
export declare const FListItem: InstallType<DefineComponent<{
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {
prop: {
readonly background?: unknown;
readonly color?: unknown;
} & {
background: string;
color: string;
} & {};
injectListProps: {
readonly listStyle?: unknown;
readonly zebra?: unknown;
readonly center?: unknown;
readonly textColor?: unknown;
readonly borderColor?: unknown;
readonly size?: unknown;
readonly maxHeight?: unknown;
} & {
center: boolean;
size: ListSizeType;
textColor: string;
borderColor: string;
listStyle: string;
zebra: boolean;
maxHeight: string | number;
} & {};
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly background?: unknown;
readonly color?: unknown;
} & {
background: string;
color: string;
} & {}>, {
background: string;
color: string;
}>>;
export declare type ListItemInstance = InstanceType<typeof ListItem>;
export * from './src/interface.d';
export default ListItem;