UNPKG

@coreui/react

Version:

UI Components Library for React.js

28 lines (27 loc) 798 B
import { ElementType, HTMLAttributes } from 'react'; import { PolymorphicRefForwardingComponent } from '../../helpers'; export interface CSidebarNavProps extends HTMLAttributes<HTMLUListElement> { /** * Component used for the root node. Either a string to use a HTML element or a component. * * @since 5.0.0 */ as?: ElementType; /** * A string of all className you want applied to the component. */ className?: string; /** * Make navigation more compact by cutting link padding in half. * * @since 5.11.0 */ compact?: boolean; /** * Sets the navigation variant. * * @since 5.11.0 */ variant?: 'tree'; } export declare const CSidebarNav: PolymorphicRefForwardingComponent<'ul', CSidebarNavProps>;