diff --git a/app/javascript/gabsocial/assets/add_image_icon.js b/app/javascript/gabsocial/assets/add_image_icon.js new file mode 100644 index 00000000..5824b140 --- /dev/null +++ b/app/javascript/gabsocial/assets/add_image_icon.js @@ -0,0 +1,26 @@ +const AddImageIcon = ({ + className = '', + size = '16px', + title = 'Add image', +}) => ( + + + + + + + +) + +export default AddImageIcon \ No newline at end of file diff --git a/app/javascript/gabsocial/components/icon.js b/app/javascript/gabsocial/components/icon.js index 4f00e274..9408edfe 100644 --- a/app/javascript/gabsocial/components/icon.js +++ b/app/javascript/gabsocial/components/icon.js @@ -1,4 +1,5 @@ import AddIcon from '../assets/add_icon' +import AddImageIcon from '../assets/add_image_icon' import AngleRightIcon from '../assets/angle_right_icon' import AngleLeftIcon from '../assets/angle_left_icon' import AppsIcon from '../assets/apps_icon' @@ -80,6 +81,7 @@ import WebsiteIcon from '../assets/website_icon' const ICONS = { 'add': AddIcon, + 'add-image': AddImageIcon, 'angle-right': AngleRightIcon, 'angle-left': AngleLeftIcon, 'apps': AppsIcon,