@carbon/react
Version:
React components for the Carbon Design System
29 lines (28 loc) • 832 B
TypeScript
/**
* Copyright IBM Corp. 2016, 2025
*
* 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 SideNavHeaderProps {
/**
* The child nodes to be rendered
*/
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;
/**
* A component used to render an icon.
*/
renderIcon: React.ComponentType;
}
declare const SideNavHeader: React.FC<SideNavHeaderProps>;
export default SideNavHeader;