import { ComponentType, PropsWithChildren } from 'react' import { FormControl } from '@baseapp-frontend/utils' import { BoxProps } from '@mui/material' import { MarkdownEditorFieldCoreProps, MarkdownEditorFieldProps, } from '../MarkdownEditorField/types' import { TextFieldProps } from '../TextField/types' import { TextareaFieldProps } from '../TextareaField/types' export type SocialTextFieldMode = 'plain-text' | 'rich-text' export type SocialTextFieldProps = FormControl & TextFieldProps & PropsWithChildren & { mode?: SocialTextFieldMode isReply?: boolean onCancelReply?: () => void replyTargetName?: string | null Container?: ComponentType OutsideReplyContainer?: ComponentType ActionsContainer?: ComponentType ReplyContainer?: ComponentType MarkdownEditorField?: ComponentType MarkdownEditorFieldProps?: Partial TextareaField?: ComponentType }