@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
18 lines (17 loc) • 688 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
export interface HeaderProps extends BaseComponentProps {
children?: React.ReactNode;
variant?: HeaderProps.Variant;
headingTagOverride?: HeaderProps.HeadingTag;
description?: React.ReactNode;
actions?: React.ReactNode;
counter?: string;
info?: React.ReactNode;
}
declare namespace HeaderProps {
type Variant = 'h1' | 'h2' | 'h3';
type HeadingTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
}
export default function Header({ variant, headingTagOverride: HeadingTag, children, actions, counter, description, info, ...restProps }: HeaderProps): JSX.Element;
export {};