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

32 lines 866 B
import React from 'react'; import { BaseComponentProps } from '../internal/base-component'; export interface DrawerProps extends BaseComponentProps { /** * Header of the drawer. * * It should contain the only `h2` used in the drawer. */ header?: React.ReactNode; /** * Main content of the drawer. * */ children?: React.ReactNode; /** * Renders the drawer in a loading state. We recommend that you also set a `loadingText`. */ loading?: boolean; /** * An object containing all the necessary localized strings required by the component. * @i18n */ i18nStrings?: I18nStrings; } interface I18nStrings { /** Specifies the text that's displayed when the panel is in a loading state. */ loadingText?: string; } export {}; //# sourceMappingURL=interfaces.d.ts.map