adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
22 lines (21 loc) • 467 B
TypeScript
import * as React from "react";
type ContextProps = {
/**
* 是否禁用
*/
disabled?: boolean;
/**
* tab 的间距 margin
*/
gutter?: number;
/**
* 值改变的 handler,传递下去由子组件触发
*/
handleTabsValueChange?: (value: React.ReactText) => void;
/**
* 已选中项
*/
value?: React.ReactText | null;
};
export declare const TabsContext: React.Context<ContextProps>;
export {};