UNPKG

@wscsports/blaze-rtn-sdk

Version:
19 lines 1.03 kB
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } import { requireNativeComponent } from 'react-native'; import React from 'react'; import { BlazeBaseWidgetView } from './BlazeBaseWidgetComponent'; export const BLAZE_STORIES_GRID_COMPONENT = 'RTNBlazeStoriesGridView'; export class BlazeStoriesGridView extends BlazeBaseWidgetView { getComponentName() { return BLAZE_STORIES_GRID_COMPONENT; } render() { return /*#__PURE__*/React.createElement(StoriesGridViewManager, _extends({}, this.props, this.createBaseProps(), { ref: ref => { if (ref) this.ref = ref; } })); } } const StoriesGridViewManager = requireNativeComponent(BLAZE_STORIES_GRID_COMPONENT); //# sourceMappingURL=BlazeStoriesGridView.js.map