UNPKG

beautiful-react-hooks

Version:

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

8 lines (7 loc) 312 B
/** * Returns all the available voices on the system. * This hook is here to backward compatibility with the previous version of the library that was using * a different non-stable version of the Web Speech API. */ declare const useSystemVoices: () => SpeechSynthesisVoice[]; export default useSystemVoices;