react-native-full-calendars
Version:
React Native Full Calendar (RNFC) is an intuitive and powerful calendar component library designed for React Native.
36 lines (35 loc) • 604 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useInitProps = useInitProps;
function useInitProps(props) {
const {
vertical = false,
onPageChange,
buffer = 1,
style,
pageWrapperStyle,
minIndex = -Infinity,
maxIndex = Infinity,
renderPage,
width,
height,
initialIndex = 0
} = props;
return {
...props,
vertical,
onPageChange,
buffer,
style,
pageWrapperStyle,
minIndex,
maxIndex,
renderPage,
width,
height,
initialIndex
};
}
//# sourceMappingURL=useInitProps.js.map