Home > front end >  (hoangnm/react-native-week-view) How can Add 30 mint time difference. react native week view
(hoangnm/react-native-week-view) How can Add 30 mint time difference. react native week view

Time:08-06

enter image description here

How to add 30 mints time differences between one hours .

CodePudding user response:

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}
  />
);
  • Related