@hhgtech/hhg-components
Version:
Hello Health Group common components
21 lines (20 loc) • 777 B
TypeScript
import React, { CSSProperties } from 'react';
export type Props = {
className?: string;
style?: CSSProperties;
bannedWords?: string[];
value?: string;
onChange?: (v: string) => void;
onPreviewUrlChange?: (v: {
title: string;
url: string;
image: string;
description: string;
} | null) => void;
onInvalidUrlsChange?: (v: string[]) => void;
imageFiles?: (File | string)[];
onImageFilesChange?: (v: (File | string)[]) => void;
isReplying?: boolean;
footerEditor?: React.ReactElement;
};
export declare const CreatePostDescription: ({ className, style, bannedWords, value, onChange, onPreviewUrlChange, onInvalidUrlsChange, isReplying, footerEditor, }: Props) => React.JSX.Element;