sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
51 lines (50 loc) • 1.39 kB
TypeScript
import { type StyleValue } from 'vue';
import { type DefaultProps } from '../config';
export interface TableProps {
rootStyle?: StyleValue;
rootClass?: string;
bordered?: boolean;
underline?: boolean;
height?: string;
}
export declare const defaultTableProps: () => DefaultProps<TableProps>;
export interface TableSlots {
default?(props: Record<string, never>): any;
}
export interface TableContext {
}
export declare const tableContextSymbol: unique symbol;
export interface TableRowProps {
rootStyle?: StyleValue;
rootClass?: string;
fixed?: boolean;
}
export interface TableRowSlots {
default?(props: Record<string, never>): any;
}
export interface TableCellProps {
rootStyle?: StyleValue;
rootClass?: string;
width?: string;
bold?: boolean;
fixed?: boolean | 'left' | 'right';
}
export interface TableCellSlots {
default?(props: Record<string, never>): any;
}
export interface TableFixationProps {
rootStyle?: StyleValue;
rootClass?: string;
tableWidth?: number;
scrollY?: boolean;
height?: string;
bordered?: boolean;
underline?: boolean;
}
export interface TableFixationSlots {
default?(props: Record<string, never>): any;
}
export type TableScrollSide = 'left' | 'middle' | 'right';
export interface TableFixationEmits {
(e: 'scroll-side', side: TableScrollSide | null): void;
}