UNPKG

@atlaskit/comment

Version:

A comment displays discussions and user feedback.

25 lines (24 loc) • 742 B
/** * @jsxRuntime classic * @jsx jsx */ import React, { type FC, type ReactNode } from 'react'; import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent'; export interface CommentFieldProps { hasAuthor?: boolean; children?: ReactNode; href?: string; onClick?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>, analyticsEvent?: UIAnalyticsEvent) => void; onFocus?: (event: React.FocusEvent<HTMLElement>) => void; onMouseOver?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void; testId?: string; } /** * __Field__ * * A field appears in the comment header to add metadata to the comment. * * @internal */ declare const Field: FC<CommentFieldProps>; export default Field;