[SOLVED] (hoangnm/react-native-week-view) How can Add 30 mint time difference. react native week view

Issue

enter image description here

How to add 30 mints time differences between one hours .

Solution

As mentioned in their documentation, use timeStep prop.

import WeekView from 'react-native-week-view';

const MyComponent = () => (
  <WeekView
    events={myEvents}
    selectedDate={new Date(2021, 3, 15)}
    numberOfDays={7}
    timeStep={30}
  />
);

Answered By – vinayr

Answer Checked By – Cary Denson (BugsFixing Admin)

Leave a Reply

Your email address will not be published.