zmp-react
Version:
Build full featured iOS & Android apps using ZMP & React
26 lines (21 loc) • 581 B
TypeScript
import * as React from 'react';
interface TabProps {
slot?: string;
id?: string | number;
className?: string;
style?: React.CSSProperties;
color?: string;
colorTheme?: string;
textColor?: string;
bgColor?: string;
borderColor?: string;
rippleColor?: string;
themeDark?: boolean;
tabActive ?: boolean;
onTabShow ?: (el?: HTMLElement) => void;
onTabHide ?: (el?: HTMLElement) => void;
ref?: React.MutableRefObject<{el: HTMLElement | null}>;
children?: React.ReactNode;
}
declare const Tab: React.FunctionComponent<TabProps>;
export default Tab;