+
+ rate.value.toString() === this.props.ttsPlaybackRate).id :
+ 2
+ }
+ onSelectionChange={(ev) => {
+ const v = playbackRate.find((option) => option.id === ev).value;
+ if (this.props.publicationHasMediaOverlays) {
+ this.props.handleMediaOverlaysPlaybackRate(
+ v.toString(),
+ );
+ } else {
+ this.props.handleTTSPlaybackRate(
+ v.toString(),
+ );
+ }
+ }}>
+ {item => {item.name}}
+
+
+ {!useMO && (
+
+ voice.name === this.props.ttsVoice.name).id :
+ -1
+ }
+ onSelectionChange={(ev) => {
+ const i = _orderedVoices.find((voice) => voice.name === ev || null);
+ this.props.handleTTSVoice(i);
+ }}
+ style={{ paddingBottom: "0", margin: "0" }}
+ >
+ {section => (
+
+
+ {section.name}
+
+
+ {item => {item.name}}
+
+ )}
+
+
+ )}
+