2022-03-25 03:05:20 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
|
|
import Service from '/imports/ui/components/audio/captions/speech/service';
|
2022-04-12 04:48:01 +08:00
|
|
|
import Select from './component';
|
2022-03-25 03:05:20 +08:00
|
|
|
|
2022-04-12 04:48:01 +08:00
|
|
|
const Container = (props) => <Select {...props} />;
|
2022-03-25 03:05:20 +08:00
|
|
|
|
|
|
|
export default withTracker(() => ({
|
|
|
|
enabled: Service.isEnabled(),
|
2022-04-12 04:48:01 +08:00
|
|
|
locale: Service.getSpeechLocale(),
|
2022-04-12 21:53:53 +08:00
|
|
|
voices: Service.getSpeechVoices(),
|
2022-03-25 03:05:20 +08:00
|
|
|
}))(Container);
|