Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #183 from WordPress/add/react-icon-prefix
Browse files Browse the repository at this point in the history
Add prefix to React component
  • Loading branch information
field2 authored May 11, 2017
2 parents f9acf59 + b487c4f commit 9b200bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/dashicon/inc/index-footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
return null;
}

const iconClass = [ 'dashicon', icon, className ].filter( Boolean ).join( ' ' );
const iconClass = [ 'dashicon', 'dashicons-' + icon, className ].filter( Boolean ).join( ' ' );

return (
<svg className={ iconClass } xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
Expand Down

0 comments on commit 9b200bc

Please sign in to comment.