@cmk/fe_utils
Version:
frontend utility library
26 lines (24 loc) • 938 B
TypeScript
import { ReactNode } from 'react';
import { BottomNavigationActionProps, BottomNavigationProps as MBottomNavigationProps } from '@mui/material';
export type CBottomNavigationProps = Omit<MBottomNavigationProps, 'onChange'> & {
value: string;
onChange: (value: string) => void;
items: {
value: string;
label: ReactNode;
tooltip?: string;
disabled?: boolean;
icon?: string;
sx?: BottomNavigationActionProps['sx'];
isInitialValue?: boolean;
}[];
showLabels?: boolean;
slotProps?: {
bottomNavigation?: MBottomNavigationProps;
bottomNavigationSelectedAction?: BottomNavigationActionProps;
bottomNavigationAction?: BottomNavigationActionProps;
};
sx?: MBottomNavigationProps['sx'];
rootInjection?: ReactNode;
};
export declare const BottomNavigation: (props: CBottomNavigationProps) => import("react/jsx-runtime").JSX.Element;