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>
35 lines (34 loc) • 610 B
TypeScript
import React from "react";
import "./style";
export interface ITabProps {
[key: string]: any;
/**
* 附加类名
*/
className?: string;
/**
* 是否禁用
*/
disabled?: boolean;
/**
* 点击事件的 handler
*/
onClick?: (e?: React.MouseEvent<HTMLDivElement>) => void;
/**
* 附加样式
*/
style?: React.CSSProperties;
/**
* 标签文字
*/
title: React.ReactNode;
/**
* value
*/
value?: React.ReactText;
}
/**
* 导航页签 - Tab
*/
declare const Tab: React.FC<ITabProps>;
export default Tab;