react-say-fork
Version:
# Goal and TODOs * Add Typescript support * Make compononents style-customizable
16 lines • 485 B
TypeScript
declare type func = any;
export interface SayUtteranceProps {
onEnd: func;
onError: func;
onStart: func;
utterance: any;
}
interface SayUtteranceWithContextProps extends SayUtteranceProps {
ponyfill?: {
speechSynthesis: any;
SpeechSynthesisUtterance: any;
};
}
declare const SayUtteranceWithContext: ({ ponyfill, ...props }: SayUtteranceWithContextProps) => any;
export default SayUtteranceWithContext;
//# sourceMappingURL=SayUtterance.d.ts.map