react-say-fork
Version:
# Goal and TODOs * Add Typescript support * Make compononents style-customizable
22 lines • 516 B
TypeScript
declare type func = any;
interface SayButtonProps {
children?: any;
disabled?: boolean;
lang?: string;
onBoundary?: func;
onEnd?: func;
onError?: func;
onStart?: func;
pitch?: number;
ponyfill?: {
speechSynthesis: any;
SpeechSynthesisUtterance: any;
};
rate?: number;
text?: string;
voice?: any | func;
volume?: number;
}
declare const SayButton: (props: SayButtonProps) => any;
export default SayButton;
//# sourceMappingURL=SayButton.d.ts.map