({ size, color, mood })
| 5 | import Wrapper from '../common/wrapper/Wrapper'; |
| 6 | |
| 7 | const IceCream = ({ size, color, mood }) => ( |
| 8 | <Wrapper |
| 9 | style={{ width: size * 0.5, height: size }} |
| 10 | width={size * 0.5} |
| 11 | height={size} |
| 12 | color={color} |
| 13 | > |
| 14 | <svg |
| 15 | width={size * 0.5} |
| 16 | height={size} |
| 17 | viewBox="0 0 110 220" |
| 18 | version="1.1" |
| 19 | xmlns="http://www.w3.org/2000/svg" |
| 20 | xmlnsXlink="http://www.w3.org/1999/xlink" |
| 21 | > |
| 22 | <g id="kawaii-iceCream"> |
| 23 | <g fillRule="nonzero"> |
| 24 | <path d={paths.stick} id="kawaii-iceCream__stick" fill="#FCCB7E" /> |
| 25 | <path d={paths.shape} id="kawaii-iceCream__shape" fill={color} /> |
| 26 | <path |
| 27 | d={paths.shadow} |
| 28 | id="kawaii-iceCream__shadow" |
| 29 | fill="#000000" |
| 30 | opacity=".1" |
| 31 | /> |
| 32 | </g> |
| 33 | <Face mood={mood} transform="translate(22.000000, 81.000000)" /> |
| 34 | </g> |
| 35 | </svg> |
| 36 | </Wrapper> |
| 37 | ); |
| 38 | |
| 39 | IceCream.propTypes = { |
| 40 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected