UNPKG

react-native-full-calendars

Version:

React Native Full Calendar (RNFC) is an intuitive and powerful calendar component library designed for React Native.

24 lines (23 loc) 695 B
"use strict"; import React from 'react'; import { usePropsValidate } from './hooks/usePropsValidate'; import { useInitProps } from './hooks/useInitProps'; import { jsx as _jsx } from "react/jsx-runtime"; export const SwiperContext = /*#__PURE__*/React.createContext({ props: null }); export const WithWrappedProvider = WrappedComponent => { return /*#__PURE__*/React.forwardRef((_props, ref) => { usePropsValidate(_props); const props = useInitProps(_props); return /*#__PURE__*/_jsx(SwiperContext.Provider, { value: { props }, children: /*#__PURE__*/_jsx(WrappedComponent, { ref: ref }) }); }); }; //# sourceMappingURL=store.js.map