@atlaskit/comment
Version:
A comment displays discussions and user feedback.
44 lines (43 loc) • 954 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import { type FC, type ReactNode } from 'react';
export interface CommentLayoutProps {
/**
* The element to display as the Comment avatar - generally an Atlaskit Avatar.
*/
avatar?: ReactNode;
/**
* Nested comments to render.
*/
children?: ReactNode;
/**
* The main content of the Comment.
*/
content?: ReactNode;
/**
* Whether this comment should appear highlighted.
*/
highlighted?: boolean;
/**
* Optional ID for the comment.
*/
id?: string;
/**
* Optional boolean to render any child comments at the same level as this comment.
*/
shouldRenderNestedCommentsInline?: boolean;
/**
* Hook for automated testing.
*/
testId?: string;
}
/**
* __CommentLayout__
*
* The base layout for the comment component.
*
*/
declare const Layout: FC<CommentLayoutProps>;
export default Layout;