Skip to content

Commit

Permalink
fix: adjust modalheader to use h2 for accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian-Holland committed May 13, 2024
1 parent 05f8e68 commit f1bae43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Modal/ModalHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
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 f1bae43

Please sign in to comment.