Bottom Nav

Creates an easy to use Bottom Nav component.

Once imported it can be modified the way you want.

Prefixes

  • ch-bottomNav
  • ch-bottomNavTS

Props

Bottom Nav takes the following props:

  • data: BottomNavType[]
  • absolute: boolean

BottomNavType contains the following:

  • title: string
  • icon: ReactNode
  • link?: string
  • action?: any
  • active?: boolean

Example: An example of the usage is provided in the snippet.

Preview