import { FunctionComponent, HTMLProps, ReactNode } from 'react';
import { css } from '@patternfly/react-styles';
/**
* The container for a single message attachment item, typically the FileDetailsLabel component. You must wrap any attachment components in this container.
* Use this component within MessageAttachmentsContainer when passing children to Message to customize its structure.
*/
export interface MessageAttachmentItemProps extends HTMLProps {
/** Content to render inside a single attachment container */
children: ReactNode;
/** Additional classes applied to the attachment container. */
className?: string;
}
export const MessageAttachmentItem: FunctionComponent = ({
children,
className,
...props
}) => (
{children}
);
export default MessageAttachmentItem;