1.0.5 • Published 5 years ago

react-calendar-events-preview v1.0.5

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

React Calendar Events Preview

A Calendar component that marks the events dates.

Installation

Run the following command: npm install --save react-calendar-events-preview

Usage

import EventsCalendar from 'react-calendar-events-preview'

const events = [
    {uuid: '1', date: '10-10-2018'},
    {uuid: '2', date: '12-10-2018'},
]

const MyComponent = props => (
  <div>
    <EventsCalendar 
        events={events}
    />
  </div>
)

Properties

PropsDefault ValuesDescriptions
stylenoneComponent container styles
eventsnonelist of events (uuid and date field required)
color'white'Text color inside a date marker
primaryColor'#616FC6'Marker backgroud color
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago