fe-pilot
Version:
scanner in web, phonebook in web, autofill otp in web, share web, TextToSpeech in web, Voice Recognition in web, live location tracking in web, detect my location web, wakelock in web, color picker, WhatsappShare, SnapScanner, NetworkMonitor, View360
1 lines • 380 B
JavaScript
import React from"react";function TextToSpeechStop(a){var b=a.children,c=a.isAudioOn,d=a.textToSpeechStop,e=a.setIsAudioOn;return c&&React.Children.map(b||"Stop",function(a){return React.cloneElement("string"==typeof a?React.createElement("span",null,a):a,{onClick:function(){return d({setIsAudioOn:e})},type:"ttsStop"})})}export{TextToSpeechStop};export default TextToSpeechStop;