mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-16 06:16:53 +08:00
chore: replace chat in web app (#2373)
This commit is contained in:
@@ -20,6 +20,7 @@ export type ConfirmCommonProps = {
|
||||
confirmBtnClassName?: string
|
||||
confirmText?: string
|
||||
confirmWrapperClassName?: string
|
||||
confirmDisabled?: boolean
|
||||
}
|
||||
|
||||
const ConfirmCommon: FC<ConfirmCommonProps> = ({
|
||||
@@ -34,6 +35,7 @@ const ConfirmCommon: FC<ConfirmCommonProps> = ({
|
||||
confirmBtnClassName,
|
||||
confirmText,
|
||||
confirmWrapperClassName,
|
||||
confirmDisabled,
|
||||
}) => {
|
||||
const { t } = useTranslation()
|
||||
|
||||
@@ -78,6 +80,7 @@ const ConfirmCommon: FC<ConfirmCommonProps> = ({
|
||||
type='primary'
|
||||
className={confirmBtnClassName || ''}
|
||||
onClick={onConfirm}
|
||||
disabled={confirmDisabled}
|
||||
>
|
||||
{confirmText || CONFIRM_MAP[type].confirmText}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user