@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) • 726 B
TypeScript
import React from 'react';
import { ButtonProps } from '../button';
import { PopoverProps } from './interfaces';
export interface PopoverBodyProps {
size: PopoverProps.Size;
fixedWidth: boolean;
dismissButton: boolean;
dismissAriaLabel: string | undefined;
onDismiss: () => void;
header: React.ReactNode | undefined;
children: React.ReactNode;
variant?: 'annotation';
returnFocus?: boolean;
dismissButtonRef?: React.Ref<ButtonProps.Ref>;
className?: string;
}
export default function PopoverBody({ size, fixedWidth, dismissButton: showDismissButton, dismissAriaLabel, header, children, onDismiss, variant, returnFocus, dismissButtonRef, className }: PopoverBodyProps): JSX.Element;