({title, icon, cont1, cont2})
| 3 | |
| 4 | |
| 5 | function ContactItem({title, icon, cont1, cont2}) { |
| 6 | return ( |
| 7 | <ContactItemStyled> |
| 8 | <div className="left-content"> |
| 9 | { |
| 10 | icon |
| 11 | } |
| 12 | </div> |
| 13 | <div className="right-content"> |
| 14 | <h6>{title}</h6> |
| 15 | <p>{cont1}</p> |
| 16 | <p>{cont2}</p> |
| 17 | </div> |
| 18 | </ContactItemStyled> |
| 19 | ) |
| 20 | } |
| 21 | |
| 22 | const ContactItemStyled = styled.div` |
| 23 | padding:1.5rem 2rem; |
nothing calls this directly
no outgoing calls
no test coverage detected