skip to Main Content

Passing Date object is prop in react – React native

I'm trying to pass a date object as a prop in react native, and access its methods to render data. The prop is passed as following: <Task text={item["text"]} date={item["date"]} time={item["time"]} reminder={item["reminder"]} completed={item["completed"]} /> It is accessed as: <View> <View style={[…

VIEW QUESTION
Back To Top
Search