Được TopGit lập chỉ mục từ metadata GitHub: wix/react-native-calendars có 10.3k sao, viết chủ yếu bằng TypeScript. React Native Calendar Components 🗓️ 📆
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A declarative cross-platform React Native calendar component for iOS and Android.
This module includes information on how to use this customizable React Native calendar component.
The package is compatible with both Android and iOS
Official documentation
This README provides basic examples of how to get started with react-native-calendars. For detailed information, refer to the official documentation site.
Features ✨
Pure JS. No Native code required
Date marking - dot, multi-dot, period, multi-period and custom marking
Customization of style, content (days, months, etc) and dates
Detailed documentation and examples
Swipeable calendar with flexible custom rendering
Scrolling to today, selecting dates, and more
Allowing or blocking certain dates
Accessibility support
Automatic date formatting for different locales
Try it out ⚡
You can run a sample module using these steps:
$ git clone [email protected]:wix/react-native-calendars.git
$ cd react-native-calendars
$ yarn install
$ cd ios && pod install && cd ..
$ react-native run-ios
You can check example screens source code in example module screens
This project is compatible with Expo/CRNA (without ejecting), and the examples have been published on Expo
Getting Started 🔧
Here's how to get started with react-native-calendars in your React Native project:
Install the package:
$ yarn add react-native-calendars
RN Calendars is implemented in JavaScript, so no native module linking is required.
Usage 🚀
Basic usage examples of the library
For detailed information on using this component, see the official documentation site
Importing the Calendar component
import {Calendar, CalendarList, Agenda} from 'react-native-calendars';
<Calendar
// Customize the appearance of the calendar
style={{
borderWidth: 1,
borderColor: 'gray',
height: 350
}}
// Specify the current date
current={'2012-03-01'}
// Callback that gets called when the user selects a day
onDayPress={day => {
console.log('selected day', day);
}}
// Mark specific dates as marked
markedDates={{
'2012-03-01': {selected: true, marked: true, selectedColor: 'blue'},
'2012-03-02': {marked: true},
'2012-03-03': {selected: true, marked: true, selectedColor: 'blue'}
}}
/>
Vì sao wix/react-native-calendars được xếp vào nhóm Mobile?
TopGit xếp wix/react-native-calendars vào nhóm Mobile dựa trên GitHub topics và mô tả của repo (gắn thẻ: "android", "calendar", "hacktoberfest"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
wix/react-native-calendars có bao nhiêu sao?
wix/react-native-calendars có 10.3k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/wix/react-native-calendars. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
wix/react-native-calendars có những chủ đề gì?
GitHub topics của wix/react-native-calendars: "android", "calendar", "hacktoberfest", "ios", "react-native", "ui-components". TopGit xếp repo vào nhóm Mobile.
wix/react-native-calendars còn đang phát triển không?
Commit gần nhất trên wix/react-native-calendars là 3 tháng trước (theo timestamp GitHub). Repo có 3.1k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
wix/react-native-calendars là gì?
wix/react-native-calendars (wix/react-native-calendars) là dự án TypeScript trên GitHub. Theo mô tả gốc: React Native Calendar Components 🗓️ 📆
wix/react-native-calendars so với các dự án Mobile khác thế nào?
wix/react-native-calendars được TopGit xếp vào nhóm Mobile, với 10.3k sao GitHub và viết bằng TypeScript. Xem trang chủ đề Mobile trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
wix/react-native-calendars viết bằng ngôn ngữ gì?
wix/react-native-calendars chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về react-native-calendars?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về react-native-calendars.