UNPKG

@carbon/react

Version:

React components for the Carbon Design System

25 lines (24 loc) 644 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, { ReactNode } from 'react'; export interface HeaderProps { children?: ReactNode; /** * Optionally provide aria-label */ 'aria-label'?: string; /** * Optionally provide aria-labelledby */ 'aria-labelledby'?: string; /** * Optionally provide a custom class name that is applied to the underlying header */ className?: string; } declare const Header: React.FC<HeaderProps>; export default Header;