acro5piano / react-native-big-calendar

gcal/outlook like calendar component for React Native
https://react-native-big-calendar.vercel.app
MIT License
452 stars 152 forks source link

renderCell method #1052

Open spietrek-insight opened 6 months ago

spietrek-insight commented 6 months ago

Does react-big-calendar support renderCalendarCell? We need to add testID to each cell with the day and hour. This will enable us to write QA Automation scripts accurately.

acro5piano commented 5 months ago

@spietrek-insight Sorry for my slow response. Please check this function:

https://github.com/acro5piano/react-native-big-calendar?tab=readme-ov-file#using-a-custom-event-render-function

spietrek-insight commented 5 months ago

Thanks @acro5piano . My title was inaccurate. I was curious if there was a renderCell method we can use to style cells that may not have events.

acro5piano commented 5 months ago

@spietrek-insight Thanks for clarification. There's no method to customize rendering of the cells. If you create a pull request, I'm happy to merge it!