@@ -78,19 +78,11 @@ export default function App() {
7878 />
7979
8080 < View style = { styles . modesContainer } >
81- < Text
82- style = { {
83- // eslint-disable-next-line react-native/no-inline-styles
84- marginRight : 8 ,
85- } }
86- >
87- Mode:
88- </ Text >
81+ < Text style = { { marginRight : 8 } } > Mode:</ Text >
8982 < TouchableOpacity
9083 style = { [
9184 styles . modeSelect ,
9285 {
93- // eslint-disable-next-line react-native/no-inline-styles
9486 backgroundColor :
9587 mode === 'single' ? theme ?. mainColor : undefined ,
9688 } ,
@@ -109,7 +101,6 @@ export default function App() {
109101 < TouchableOpacity
110102 style = { [
111103 styles . modeSelect ,
112- // eslint-disable-next-line react-native/no-inline-styles
113104 {
114105 backgroundColor :
115106 mode === 'range' ? theme ?. mainColor : undefined ,
@@ -129,7 +120,6 @@ export default function App() {
129120 < TouchableOpacity
130121 style = { [
131122 styles . modeSelect ,
132- // eslint-disable-next-line react-native/no-inline-styles
133123 {
134124 backgroundColor :
135125 mode === 'multiple' ? theme ?. mainColor : undefined ,
@@ -150,7 +140,6 @@ export default function App() {
150140 style = { [
151141 styles . modeSelect ,
152142 {
153- // eslint-disable-next-line react-native/no-inline-styles
154143 backgroundColor :
155144 mode === 'wheel' ? theme ?. mainColor : undefined ,
156145 } ,
@@ -215,19 +204,17 @@ export default function App() {
215204 displayFullDays
216205 timePicker = { timePicker }
217206 // minDate={range.startDate}
218- // maxDate={new Date()}
219- //firstDayOfWeek={1}
207+ maxDate = { new Date ( '2025-02-18 00:00:00' ) }
208+ // firstDayOfWeek={1}
220209 // columns={['year', 'month', 'day', 'hour', 'minute', 'second']}
221210 onChange = { onChange }
222211 headerButtonColor = { theme ?. mainColor }
223212 selectedItemColor = { theme ?. mainColor }
224- // eslint-disable-next-line react-native/no-inline-styles
225213 selectedTextStyle = { {
226214 fontWeight : 'bold' ,
227215 color : theme ?. activeTextColor ,
228216 } }
229217 wheelPickerItemStyle = { { paddingHorizontal : 0 } }
230- // eslint-disable-next-line react-native/no-inline-styles
231218 todayContainerStyle = { {
232219 borderWidth : 1 ,
233220 } }
0 commit comments