gwitter
Version:
Turn GitHub Issues into your personal microblog platform
12 lines (11 loc) • 325 B
TypeScript
interface CommentInputProps {
onSubmit: (content: string) => Promise<void>;
onCancel?: () => void;
initialValue?: string;
placeholder?: string;
submitText?: string;
showCancel?: boolean;
isExpanded?: boolean;
}
declare const CommentInput: React.FC<CommentInputProps>;
export default CommentInput;