vlibras-player-webjs
Version:
Biblioteca JavaScript moderna para integração do VLibras Player com React, Vue, Angular e vanilla JS
18 lines • 653 B
TypeScript
import React from 'react';
export interface VLibrasPlayerProps {
text?: string;
autoPlay?: boolean;
showControls?: boolean;
allowReplay?: boolean;
width?: number | string;
height?: number | string;
variant?: 'default' | 'minimal' | 'compact';
className?: string;
style?: React.CSSProperties;
onReady?: () => void;
onTranslationStart?: (text: string) => void;
onTranslationComplete?: () => void;
onError?: (error: Error) => void;
}
export declare const VLibrasPlayer: React.ForwardRefExoticComponent<VLibrasPlayerProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=VLibrasPlayer.d.ts.map