(extra: number = 0)
| 49 | |
| 50 | const baseTextAttributes = theme.messageTextAttributes ?? 0 |
| 51 | const getAttributes = (extra: number = 0): number | undefined => { |
| 52 | const combined = baseTextAttributes | extra |
| 53 | return combined === 0 ? undefined : combined |
| 54 | } |
| 55 | |
| 56 | const isExpanded = !isCollapsed |
| 57 | const toggleFrameColor = isExpanded ? theme.secondary : theme.muted |
no outgoing calls
no test coverage detected