@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
19 lines • 658 B
TypeScript
import React from 'react';
import { AlertFlashContentApiInternal, ReplacementType } from '../controllers/alert-flash-content';
export declare function createUseDiscoveredContent(componentName: string, controller: AlertFlashContentApiInternal): ({
type,
header,
children
}: {
type: string;
header: React.ReactNode;
children: React.ReactNode;
}) => {
initialHidden: boolean;
headerReplacementType: ReplacementType;
contentReplacementType: ReplacementType;
headerRef: React.Ref<HTMLDivElement>;
replacementHeaderRef: React.Ref<HTMLDivElement>;
contentRef: React.Ref<HTMLDivElement>;
replacementContentRef: React.Ref<HTMLDivElement>;
};