UNPKG

@carbon/react

Version:

React components for the Carbon Design System

26 lines (25 loc) 786 B
/** * Copyright IBM Corp. 2016, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; export interface SideNavItemsProps { /** * Provide a single icon as the child to `SideNavIcon` to render in the * container */ children: React.ReactNode; /** * Provide an optional class to be applied to the containing node */ className?: string; /** * Property to indicate if the side nav container is open (or not). Use to * keep local state and styling in step with the SideNav expansion state. */ isSideNavExpanded?: boolean; } declare const SideNavItems: React.FC<SideNavItemsProps>; export default SideNavItems;