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 authored Jul 27, 2020
1 parent c5b437a commit c2e6cd0
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 c2e6cd0

Please sign in to comment.