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