Skip to content

Commit

Permalink
chore(Modal): fixed Props type to use DialogHTMLAttributes (#459)
Browse files Browse the repository at this point in the history
* feat(Modal): added ariaHidden to Modal component Props. (#456)

* fix(Modal): fixed Props type to use DialogHTMLAttributes

* refactor: remove ModalLegacyProps as it is not used
  • Loading branch information
yosipy authored Aug 28, 2024
1 parent 9e5064d commit 275e2e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { IComponentBaseProps } from '../types'
import ModalActions from './ModalActions'
import ModalBody from './ModalBody'
import ModalHeader from './ModalHeader'
import ModalLegacy, { ModalProps as ModalLegacyProps } from './ModalLegacy'
import ModalLegacy from './ModalLegacy'

export type ModalProps = React.HTMLAttributes<HTMLDialogElement> &
export type ModalProps = React.DialogHTMLAttributes<HTMLDialogElement> &
IComponentBaseProps & {
open?: boolean
responsive?: boolean
Expand Down

0 comments on commit 275e2e9

Please sign in to comment.