Skip to content

Commit

Permalink
fix(ModalHeader): Use css modules in close button (#629)
Browse files Browse the repository at this point in the history
closes #628
  • Loading branch information
bezenson authored and TheSharpieOne committed Oct 10, 2017
1 parent 25c1e38 commit 2cd6f21
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 @@ -38,7 +38,7 @@ const ModalHeader = (props) => {

if (toggle) {
closeButton = (
<button type="button" onClick={toggle} className="close" aria-label={closeAriaLabel}>
<button type="button" onClick={toggle} className={mapToCssModules('close', cssModule)} aria-label={closeAriaLabel}>
<span aria-hidden="true">{String.fromCharCode(215)}</span>
</button>
);
Expand Down

0 comments on commit 2cd6f21

Please sign in to comment.