chore: replace chat in web app (#2373)
This commit is contained in:
parent
3f0c515355
commit
51d359268e
49 changed files with 2100 additions and 92 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue