(text: string, color: string)
| 89 | textAlign: 'left', |
| 90 | } |
| 91 | const badge = (text: string, color: string) => ( |
| 92 | <span |
| 93 | style={{ |
| 94 | background: color, |
| 95 | color: '#fff', |
| 96 | borderRadius: 4, |
| 97 | padding: '1px 4px', |
| 98 | fontSize: 11, |
| 99 | }} |
| 100 | > |
| 101 | {text} |
| 102 | </span> |
| 103 | ) |
| 104 | const btn = ( |
| 105 | label: string, |
| 106 | onClick: () => void, |
no outgoing calls
no test coverage detected