f80d0bc083
Thus we won't clutter the code with unrelated events and can easily switch to a ResizeObserver when it is implemented by the browsers
11 lines
355 B
JavaScript
11 lines
355 B
JavaScript
import React from 'react';
|
|
import { createContainer } from 'meteor/react-meteor-data';
|
|
import ClosedCaptionsService from './service';
|
|
import ClosedCaptions from './component';
|
|
|
|
const ClosedCaptionsContainer = props => (
|
|
<ClosedCaptions {...props} />
|
|
);
|
|
|
|
export default createContainer(() => ClosedCaptionsService.getCCData(), ClosedCaptionsContainer);
|