All Projects → Txiaozhe → react-native-lunar-calendar

Txiaozhe / react-native-lunar-calendar

Licence: other
A react-native lunar calendar project for android and ios.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-lunar-calendar

chronos
Chronos是用于Fate起名的日历计算工具,计算(公历,农历,八字,万年历,年柱,日柱,月柱,时柱,四柱)等
Stars: ✭ 66 (+164%)
Mutual labels:  lunar
astro
自用天文算法,公历农历转换、八大行星位置、日出日落月出月落时间、节气物候时间等
Stars: ✭ 33 (+32%)
Mutual labels:  lunar
LunarCalendar
A lightweight macOS App for displaying calendar and time
Stars: ✭ 82 (+228%)
Mutual labels:  lunar
lunar-theme
🌓 A minimal dark and light theme for Visual Studio Code. Handpicked colours, easy on the eyes, and perfect for coding in the day/night.
Stars: ✭ 24 (-4%)
Mutual labels:  lunar
lunar-typescript
日历、公历(阳历)、农历(阴历、老黄历)、佛历、道历,支持节假日、星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。lunar is a calendar library for Solar and Chinese Lunar.
Stars: ✭ 62 (+148%)
Mutual labels:  lunar
lunar-javascript
日历、公历(阳历)、农历(阴历、老黄历)、佛历、道历,支持节假日、星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。lunar is a calendar library for Solar and Chinese Lunar.
Stars: ✭ 363 (+1352%)
Mutual labels:  lunar
lunar-php
日历、公历(阳历)、农历(阴历、老黄历)、佛历、道历,支持节假日、星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。lunar is a calendar library for Solar and Chinese Lunar.
Stars: ✭ 84 (+236%)
Mutual labels:  lunar
chinese-calendar-golang
📅 公历, 农历, 干支历转换包, 提供精确的日历转换.
Stars: ✭ 104 (+316%)
Mutual labels:  lunar
jh-weapp-demo
微信小程序项目- 实现一些常用效果、封装通用组件和工具类
Stars: ✭ 60 (+140%)
Mutual labels:  lunar
Lunar
Making games in Java is now easier than ever before!
Stars: ✭ 44 (+76%)
Mutual labels:  lunar

react-native-lunar-calendar

Known Vulnerabilities npm download

A lunar calendar component for react-native.

GitHub

Getting Started

$ npm install react-native-lunar-calendar --save
import Calender from "react-native-lunar-calendar";

...
render() {
  return (
    <Calendar
        headerStyle={{backgroundColor: '#f00'}}
        weekHeadStyle={{backgroundColor: '#00f'}}
        onDateSelect={(date) => console.log(date)}
        onMonthSelect={(mon) => console.log(mon)}
        dateStyle={{backgroundColor: '#f0f'}}
        selectDateStyle={{backgroundColor: '#f00'}}
        weekendStyle={{backgroundColor: '#fff'}}
        style={{backgroundColor: '#0f0'}} />
  )
}
...

API

  • style

    name type description
    style object style of main page
    weekHeadStyle object style of head of week show
    headerStyle object style of head of year show
    dateStyle object date tab style
    selectDateStyle object style of date tab where selected
  • callback

    name type description
    onDateSelect callback function: (date) => {} the function will be called when select date on body
    onMonthSelect callback function: (month) => {} the function will be called when select date on header

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].