UNPKG

@redocly/theme

Version:

Shared UI components lib

16 lines (15 loc) 440 B
import type { JSX } from 'react'; export type CommentProps = { onSubmit: (value: { comment: string; }) => void; onCancel?: () => unknown; settings?: { label?: string; submitText?: string; }; standAlone?: boolean; isDialog?: boolean; className?: string; }; export declare function Comment({ settings, onSubmit, onCancel, className, standAlone, isDialog, }: CommentProps): JSX.Element;