import React from 'react'
export default (props) => (
<div {...props}>
<svg focusable="false" fill="white" viewBox="0 0 24 24" aria-hidden="true">
<path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"></path>
</svg>
</div>
)
In the above code we are passing props inside the div element. Let's not worry about the svg tag, but how the code is working from React perspective?