File tree Expand file tree Collapse file tree 1 file changed +30
-4
lines changed
Expand file tree Collapse file tree 1 file changed +30
-4
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,9 @@ function Filter(props) {
141141 < IconButton
142142 color = { colors . textHeadBlack }
143143 icon = "close-thick"
144- onPress = { handleClose }
144+ onPress = { ( ) => {
145+ close ( ) ;
146+ } }
145147 />
146148 </ View >
147149 { skillsLoading || skills . length === 0 ? (
@@ -273,24 +275,48 @@ function Filter(props) {
273275 // backgroundColor: colors.primary,
274276 } } >
275277 < View >
276- < Text
278+ { /* <Text
277279 style={{
278280 fontSize: 18,
279281 fontWeight: 'bold',
280282 color: colors.textHeadBlack,
281283 }}>
282284 8
283285 </Text>
284- < Text > Students found</ Text >
286+ <Text>Students found</Text> */ }
287+ < TouchableHighlight
288+ underlayColor = "#dddddd"
289+ style = { {
290+ backgroundColor : 'white' ,
291+ padding : 10 ,
292+ paddingLeft : 36 ,
293+ paddingRight : 36 ,
294+ borderRadius : 8 ,
295+ borderColor : colors . primary ,
296+ borderWidth : 3 ,
297+ } }
298+ onPress = { ( ) => {
299+ setFilterSkills ( [ ] ) ;
300+ } } >
301+ < Text
302+ style = { {
303+ fontSize : 16 ,
304+ fontWeight : 'bold' ,
305+ color : colors . primary ,
306+ } } >
307+ Reset
308+ </ Text >
309+ </ TouchableHighlight >
285310 </ View >
286311 < View >
287312 < TouchableHighlight
288313 style = { {
289314 backgroundColor : colors . primary ,
290- padding : 12 ,
315+ padding : 10 ,
291316 paddingLeft : 36 ,
292317 paddingRight : 36 ,
293318 borderRadius : 8 ,
319+ borderWidth : 3 ,
294320 } }
295321 onPress = { handleClose } >
296322 < Text
You can’t perform that action at this time.
0 commit comments