({ title })
| 2 | import React from 'react' |
| 3 | |
| 4 | export const Button: FC<{ title: string }> = ({ title }) => ( |
| 5 | <div |
| 6 | style={{ padding: 10, backgroundColor: '#333', color: '#fff', display: 'inline-block', borderRadius: 4 }} |
| 7 | onClick={() => alert('Hi')} |
| 8 | > |
| 9 | {title} |
| 10 | </div> |
| 11 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…