omim
Version:
Material Design for Omi.
31 lines (30 loc) • 770 B
TypeScript
import { WeElement } from 'omi';
import '../icon';
import '../theme.ts';
interface Props {
defaultActive: string;
width: string;
align: 'start' | 'end' | 'center';
useMinWidth: boolean;
stacked: boolean;
}
export default class Tab extends WeElement<Props> {
static css: any;
data: {
active: any;
tabBar: any;
};
static propTypes: {
defaultActive: StringConstructor;
width: StringConstructor;
align: StringConstructor;
useMinWidth: BooleanConstructor;
stacked: BooleanConstructor;
};
installed(): void;
uninstall(): void;
activateTab(value: any): void;
renderButton(vnode: any, activeProp: any): JSX.Element;
render(props: any): JSX.Element;
}
export {};