Skip to content

Commit

Permalink
fix(ModalHeader): default tag to h5 (#793)
Browse files Browse the repository at this point in the history
Bootstrap uses h5 now.

Breaking change: ModalHeader now defaults to h5 instead of h4. If you still need h4 add tag="h4"
  • Loading branch information
kane-c authored and TheSharpieOne committed Jan 26, 2018
1 parent 5c6d29b commit 6a5fe7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModalHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const propTypes = {
};

const defaultProps = {
tag: 'h4',
tag: 'h5',
wrapTag: 'div',
closeAriaLabel: 'Close',
};
Expand Down

0 comments on commit 6a5fe7e

Please sign in to comment.