antd-mobile
Version:
基于 React 的移动设计规范实现
18 lines (17 loc) • 455 B
TypeScript
interface TabsProps {
activeKey?: string;
defaultActiveKey?: string;
onChange?: (key: string) => void;
onTabClick?: (key: string) => void;
tabBarPosition?: 'top' | 'bottom';
animated?: boolean;
swipeable?: boolean;
underlineColor?: string;
activeUnderlineColor?: string;
textColor?: string;
activeTextColor?: string;
styles?: any;
className?: string;
prefixCls?: string;
}
export default TabsProps;