react-native-jalali-calendar

0.0.6 • Public • Published

NPM

install size dependencies

react-native-jalali-calendar

Easy state management for react & react-native using hooks. it's useful for global state management and complex components state

TOC

Install

You should be install react-native-reanimated react-native-vector-icons starkstring moment-jalaali too

yarn add react-native-jalali-calendar react-native-reanimated react-native-vector-icons starkstring moment-jalaali

Add code to root of project

// Generate required css
import MaterialCommunityIcons from "react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf";
const iconFontStyles = `@font-face {
  src: url(${MaterialCommunityIcons});
  font-family: MaterialCommunityIcons;
}`;
 
// Create stylesheet
const style = document.createElement("style");
style.type = "text/css";
if (style.styleSheet) {
  style.styleSheet.cssText = iconFontStyles;
} else {
  style.appendChild(document.createTextNode(iconFontStyles));
}
 
// Inject stylesheet
document.head.appendChild(style);

Package Sidebar

Install

npm i react-native-jalali-calendar

Weekly Downloads

3

Version

0.0.6

License

MIT

Unpacked Size

24.8 kB

Total Files

46

Last publish

Collaborators

  • hosseinmdeveloper