@minto-ai/mt-ui
Version:
UI组件库
24 lines (23 loc) • 666 B
TypeScript
import { ComputedRef, ExtractPropTypes, PropType } from 'vue';
declare const tabProps: {
/**
* 选项卡标题
*/
readonly label: {
readonly type: StringConstructor;
readonly default: "";
};
/**
* 与选项卡绑定值 value 对应的标识符,表示选项卡别名。默认值是tab面板的序列号,如第一个 tab 是 0
*/
readonly name: {
readonly type: PropType<string | number>;
readonly default: 0;
};
};
interface TabContext {
isActive: ComputedRef<boolean>;
}
type TabProps = ExtractPropTypes<typeof tabProps>;
export type { TabContext, TabProps, };
export { tabProps };