Skip to content

Commit

Permalink
fix(modal): fix type of Modal.Action (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
unix committed Aug 14, 2020
1 parent 4c93232 commit 36585e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/modal-action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 36585e8

Please sign in to comment.