Files
ersatztv/design-system/components/data-display/ChannelLogo.prompt.md
T
2026-07-02 07:37:00 +02:00

9 lines
330 B
Markdown

**ChannelLogo** — square channel avatar. Given `src`, shows the logo; otherwise generates a stable initials chip + color from `name` (mirrors ErsatzTV's `iptv/logos/gen`).
```jsx
<ChannelLogo name="Retro Cartoons" size={40} />
<ChannelLogo name="News 24" src="/logos/news24.png" />
```
Props: `name`, `src`, `size`, `radius`.