Skip to content

Commit

Permalink
fix: Update modal header to h2 for accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian-Holland committed May 9, 2024
1 parent 3cf8acd commit d8fba21
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Modal/ModalHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import { ModalHeader } from 'reactstrap';
import React from 'react';
import { ModalHeader as RsModalHeader } from 'reactstrap';

const ModalHeader = ({...props}) => (
<RsModalHeader tag="h2" {...props}/>
)

export default ModalHeader;

0 comments on commit d8fba21

Please sign in to comment.