UNPKG

@hhgtech/hhg-components

Version:
22 lines (21 loc) 817 B
import React, { CSSProperties } from 'react'; export type Props = { className?: string; style?: CSSProperties; bannedWords?: string[]; value?: string; placeholder?: 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, placeholder, onChange, onPreviewUrlChange, onInvalidUrlsChange, isReplying, footerEditor, }: Props) => React.JSX.Element;