import { FC } from "react"; //#region src/organisms/Comments/Comment.d.ts /** * Controls the visibility and enabled state of a comment action button. */ interface CommentAction { /** * Whether the button is visible but cannot be clicked. * * @default false */ disabled?: boolean; /** * Whether the button is not rendered at all. * * @default false */ hidden?: boolean; /** * The tooltip displayed when the button is disabled. * * Ignored unless `disabled` is `true`. */ disabledReason?: string; } interface CommentData { id: string; text: string; editAction?: CommentAction; deleteAction?: CommentAction; timestamp: Date | string; author: { name: string; avatar?: string; }; } //#endregion export { CommentData };