UNPKG

audiocard

Version:

Opinionated, responsive, audio player compatible with Twitter Cards - Fully RSC compliant

22 lines (21 loc) 837 B
export interface AudioCardProps { art?: string; background?: string; className?: string; color?: string; link?: string; linkText?: string; progressBarBackground?: string; progressBarCompleteBackground?: string; skipBackSeconds?: number; skipForwardSeconds?: number; source: string; title?: string; duration?: number; currentTime?: number; width?: number; autoplay?: boolean; preload?: boolean | 'auto' | 'metadata' | 'none'; } declare function AudioCard({ art, background, className, color, link, linkText, progressBarBackground, progressBarCompleteBackground, skipBackSeconds, skipForwardSeconds, source, title, duration, currentTime: initialCurrentTime, width, autoplay, preload, }: AudioCardProps): import("react/jsx-runtime").JSX.Element; export default AudioCard;