UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

30 lines 882 B
import React from 'react'; import { BaseComponentProps } from '../internal/base-component'; export interface HelpPanelProps extends BaseComponentProps { /** * Header of the help panel. * * It should contain the only `h2` used in the help panel. */ header?: React.ReactNode; /** * Main content of the help panel. * * Use `p, a, h3, h4, h5, span, div, ul, ol, li, code, pre, dl, dt, dd, hr, br, i, em, b, strong` tags to format the content. * Use `code` for inline code or `pre` for code blocks. */ children?: React.ReactNode; /** * Footer of the help panel. */ footer?: React.ReactNode; /** * Renders the panel in a loading state. We recommend that you also set a `loadingText`. */ loading?: boolean; /** * Specifies the text that's displayed when the panel is in a loading state. * @i18n */ loadingText?: string; }