text: import nullthrows from 'nullthrows';
  import React from 'react';
  import { ViewPropTypes, requireNativeComponent } from 'react-native';
  import { AdMediaViewContext } from './withNativeAd';
  export default class AdMediaView extends React.Component {
      render() {
          return (<AdMediaViewContext.Consumer>
          {(contextValue) => {
              let context = nullthrows(contextValue);
              return <NativeAdMediaView {...this.props} ref={context.nativeRef}/>;
          }}
        </AdMediaViewContext.Consumer>);
      }
  }
  export const NativeAdMediaView = requireNativeComponent('MediaView', {
      propTypes: ViewPropTypes,
  });
  //# sourceMappingURL=AdMediaView.js.map