comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
19 lines (17 loc) • 696 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
export declare const tableColumnProps: {
readonly type: {
readonly type: PropType<"selection" | "index" | "expand" | "default">;
readonly default: "default";
};
readonly prop: StringConstructor;
readonly label: StringConstructor;
readonly align: PropType<"left" | "right" | "center">;
readonly width: {
readonly type: StringConstructor;
readonly default: (value: any) => string;
};
readonly fixed: PropType<boolean | "left" | "right">;
readonly index: PropType<number | ((rowIndex: number) => any)>;
};
export type TableColumnProps = ExtractPropTypes<typeof tableColumnProps>;