Fix type error (#27274)

This commit is contained in:
GuanMu
2025-10-22 17:08:27 +08:00
committed by GitHub
parent 40d3332690
commit c61c2b0abd
16 changed files with 55 additions and 54 deletions

View File

@@ -6,7 +6,7 @@ import Button from '../button'
export type IConfirm = {
className?: string
isShow: boolean
type?: 'info' | 'warning'
type?: 'info' | 'warning' | 'danger'
title: string
content?: React.ReactNode
confirmText?: string | null