18 lines
547 B
TypeScript
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;
|