mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-28 22:46:38 +08:00
fix(modal): fix type of Modal.Action (#351)
This commit is contained in:
@@ -106,4 +106,4 @@ type ComponentProps = Partial<typeof defaultProps> &
|
||||
|
||||
ModalAction.defaultProps = defaultProps
|
||||
|
||||
export default ModalAction as ModalActionComponent<ComponentProps>
|
||||
export default ModalAction as ModalActionComponent<HTMLButtonElement, ComponentProps>
|
||||
|
||||
Reference in New Issue
Block a user