Added star icon

• Added:
- star icon svg
This commit is contained in:
mgabdev 2020-05-26 15:42:55 -04:00
parent 6f8416de68
commit 7483c1de2c
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
const StarIcon = ({
className = '',
size = '24px',
title = '',
}) => (
<svg
className={className}
version='1.1'
xmlns='http://www.w3.org/2000/svg'
x='0px'
y='0px'
width={size}
height={size}
viewBox='0 0 24 24'
xmlSpace='preserve'
aria-label={title}
>
<g>
<path d="M12 .587l3.668 7.568 8.332 1.151-6.064 5.828 1.48 8.279-7.416-3.967-7.42 3.96 1.481-8.279-6.064-5.828 8.332-1.151z"/>
</g>
</svg>
)
export default StarIcon

View File

@ -61,6 +61,7 @@ import SearchAltIcon from '../assets/search_alt_icon'
import SelectIcon from '../assets/select_icon'
import ShareIcon from '../assets/share_icon'
import ShopIcon from '../assets/shop_icon'
import StarIcon from '../assets/star_icon'
import StrikethroughIcon from '../assets/strikethrough_icon'
import SubtractIcon from '../assets/subtract_icon'
import TextSizeIcon from '../assets/text_size_icon'
@ -136,6 +137,7 @@ const ICONS = {
'select': SelectIcon,
'share': ShareIcon,
'shop': ShopIcon,
'star': StarIcon,
'strikethrough': StrikethroughIcon,
'subtract': SubtractIcon,
'text-size': TextSizeIcon,