chakra-ui-bottom-navigation
Version:
Bottom navigation component built for chakra
60 lines (59 loc) • 1.39 kB
TypeScript
declare type Dict = Record<string, any>;
declare function variantFlat(props: Dict): {
container: {
bottom: number;
left: number;
right: number;
color: string;
bg: string;
boxShadow: string;
};
};
declare function variantFloat(props: Dict): {
container: {
bottom: number;
left: number;
right: number;
borderRadius: string;
color: string;
bg: string;
boxShadow: string;
};
};
export declare const BottomNavigationStyleConfig: {
parts: string[];
baseStyle: {
container: {
position: string;
display: string;
justifyContent: string;
px: number;
py: number;
};
item: {
flex: number;
mx: number;
opacity: number;
_selected: {
opacity: number;
};
};
label: {
_hidden: {
opacity: number;
height: number;
width: number;
overflow: string;
};
};
};
variants: {
flat: typeof variantFlat;
float: typeof variantFloat;
};
defaultProps: {
variant: string;
colorScheme: string;
};
};
export {};