UNPKG

@carbon/react

Version:

React components for the Carbon Design System

25 lines (24 loc) 676 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 SideNavItemProps { /** * Provide a single icon as the child to `SideNavItem` to render in the * container */ children: React.ReactNode; /** * Provide an optional class to be applied to the containing node */ className?: string; /** * Specify if this is a large variation of the SideNavItem */ large?: boolean; } declare const SideNavItem: React.FC<SideNavItemProps>; export default SideNavItem;