import * as React from 'react'
import { StyleSheet } from 'react-native'
import { DayPicker } from 'react-native-picker-weekday'
const SampleApp = () => {
const [weekdays, setWeekdays] = React.useState([-1])
return (
<DayPicker
weekdays={weekdays}
setWeekdays={setWeekdays}
activeColor='violet'
textColor='white'
inactiveColor='grey'
/>
/*
optional parameters include
dayTextStyle - All styles applicable to text component
itemStyles - All Styles applicable to View component
wrapperStyles - All Styles applicable to View component
This gives high flexibility over Visiblity and Styling of this component.
*/
)
}