react-native-kj-calendar
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-native-kj-calendar

react-native日历组件

Installation

npm install react-native-kj-calendar --save or yarn add react-native-kj-calendar --save

Usage

import { KJCalendar } from 'react-native-kj-calendar'

const App = () => {
  return (
    <View>
        <KJCalendar
            onDayPress={(dayModel) => { console.log('click day:', dayModel) }}
            onConfirm={(dayModel) => { console.log('click confirm:', dayModel) }}
            onCancel={() => { console.log('click cancel') }}
        />
    </View>
  );
};

Package Sidebar

Install

npm i react-native-kj-calendar

Weekly Downloads

10

Version

1.0.2

License

MIT

Unpacked Size

15.9 kB

Total Files

12

Last publish

Collaborators

  • kanka_liu