@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
19 lines (18 loc) • 606 B
TypeScript
import { CSSProperties, ReactNode } from 'react';
export interface MobileTabBarItemProps {
icon: ReactNode | ((active: boolean) => ReactNode);
key: string;
onClick?: () => void;
title: ReactNode | ((active: boolean) => ReactNode);
}
export interface MobileTabBarProps {
activeKey?: string;
className?: string;
defaultActiveKey?: string;
items: MobileTabBarItemProps[];
onChange?: (key: string) => void;
safeArea?: boolean;
style?: CSSProperties;
}
declare const MobileTabBar: import("react").NamedExoticComponent<MobileTabBarProps>;
export default MobileTabBar;