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

18 lines
547 B
TypeScript

import * as React from "react";
export interface ChannelLogoProps {
/** Channel name — seeds the generated initials + color when no image. */
name?: string;
/** Logo image URL; falls back to a generated chip when absent. */
src?: string | null;
size?: number;
radius?: string;
style?: React.CSSProperties;
}
/**
* Square channel logo; shows the uploaded image or a deterministic
* initials chip keyed to the channel name (like ErsatzTV's generated logos).
*/
export function ChannelLogo(props: ChannelLogoProps): JSX.Element;