Skip to content

Commit

Permalink
revert back to original changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian-Holland committed May 13, 2024
1 parent 118d26d commit 9127c53
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/components/Modal/ModalHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import React, { ReactNode } from 'react';
import React from 'react';
import { ModalHeader as RsModalHeader } from 'reactstrap';

interface ModalHeaderProps {
children?: ReactNode;
[key: string]: any;
}

const ModalHeader = ({ children, tag = 'h2', ...props }: ModalHeaderProps) => (
<RsModalHeader tag={tag} {...props}>
{children}
</RsModalHeader>
);
const ModalHeader = ({ ...props }) => <RsModalHeader tag="h2" {...props} />;

export default ModalHeader;

0 comments on commit 9127c53

Please sign in to comment.