UNPKG

chakra-ui-bottom-navigation

Version:

Bottom navigation component built for chakra

19 lines (18 loc) 1.07 kB
import { As, HTMLChakraProps, IconProps, ThemingProps } from '@chakra-ui/react'; import React from 'react'; import { IBottomNavigationContext } from './use-bottom-navigation'; export interface IBottomNavigationProps extends Omit<HTMLChakraProps<'nav'>, 'onChange'>, ThemingProps<'BottomNavigation'>, IBottomNavigationContext { } export declare const BottomNavigation: import("@chakra-ui/system").ComponentWithAs<"nav", IBottomNavigationProps>; interface IBottomNavigationItemProps extends Omit<HTMLChakraProps<'button'>, 'value'> { value?: string | number; } export declare const BottomNavigationItem: import("@chakra-ui/system").ComponentWithAs<"button", IBottomNavigationItemProps>; interface IBottomNavigationIconProps extends IconProps { as: As<any>; } export declare const BottomNavigationIcon: React.FC<IBottomNavigationIconProps>; interface IBottomNavigationLabelProps extends HTMLChakraProps<'div'> { } export declare const BottomNavigationLabel: import("@chakra-ui/system").ComponentWithAs<"div", IBottomNavigationLabelProps>; export {};