import { CNav } from '@coreui/react'// orimport CNav from '@coreui/react/src/components/nav/CNav'| Property | Description | Type | Default |
|---|---|---|---|
| className | A string of all className you want applied to the base component. | string | - |
| component | Component used for the root node. Either a string to use a HTML element or a component. | string | ComponentClass<any, any> | FunctionComponent<any> | - |
| layout | Specify a layout type for component. | 'fill' | 'justified' | - |
| variant | Set the nav variant to tabs or pills. | 'tabs' | 'pills' | 'underline' | - |
On this page