55## A declarative cross-platform React Native calendar component for iOS and Android.
66
77[ ![ Version] ( https://img.shields.io/npm/v/react-native-calendars.svg )] ( https://www.npmjs.com/package/react-native-calendars )
8- [ ![ Build Status] ( https://travis-ci.org/wix/react-native-calendars.svg?branch=master )] ( https://travis-ci.org/wix/react-native-calendars )
9-
8+ [ ![ Build status] ( https://badge.buildkite.com/1a911fa39db2518a615b73f3dc18ec0938a66403f2ad66f79b.svg )] ( https://buildkite.com/wix-mobile-oss/react-native-calendars )
109<br >
1110
1211This module includes information on how to use this customizable ** React Native** calendar component.
4039
4140$ cd react-native-calendars
4241
43- $ npm install
42+ $ yarn install
4443
4544$ cd ios && pod install && cd ..
4645
@@ -57,14 +56,6 @@ Here's how to get started with react-native-calendars in your React Native proje
5756
5857### Install the package:
5958
60- Using ` npm ` :
61-
62- ```
63- $ npm install --save react-native-calendars
64- ```
65-
66- Using ` Yarn ` :
67-
6859```
6960$ yarn add react-native-calendars
7061```
@@ -197,13 +188,6 @@ export default App;
197188### Adding a global theme to the calendar:
198189
199190``` javascript
200- import React , { useState } from ' react' ;
201- import { Calendar , LocaleConfig } from ' react-native-calendars' ;
202-
203- const App = () => {
204- const [selected , setSelected ] = useState (' ' );
205-
206- return (
207191 < Calendar
208192 style= {{
209193 borderWidth: 1 ,
@@ -218,7 +202,9 @@ const App = () => {
218202 selectedDayTextColor: ' #ffffff' ,
219203 todayTextColor: ' #00adf5' ,
220204 dayTextColor: ' #2d4150' ,
221- textDisabledColor: ' #d9e
205+ textDisabledColor: ' #dd99ee'
206+ }}
207+ < / Calendar>
222208```
223209
224210## Customized Calendar Examples
@@ -282,7 +268,7 @@ We welcome contributions to react-native-calendars.
282268
283269If you have an idea for a new feature or have discovered a bug, please open an issue.
284270
285- Please `npm run test` and `npm run lint` before pushing changes.
271+ Please ` yarn test` and ` yarn lint` before pushing changes.
286272
287273Don't forget to add a ** title** and a ** description** explaining the issue you're trying to solve and your proposed solution.
288274
0 commit comments