File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,16 @@ import { CheckBox, Icon } from 'react-native-elements';
6
6
const Reminder = ( props ) => {
7
7
const [ check , setCheck ] = useState ( false ) ;
8
8
9
- const completionState = ( check ? '- Complete' : '' )
9
+ // Ternary Operator - Verbose Reminder Complete Visual Signal
10
+ // const completionState = (check ? 'Complete - ' : '')
10
11
11
12
return (
12
13
< View style = { styles . reminder } >
13
14
< View style = { styles . reminderLeft } >
14
15
{ /* <View style={styles.square}></View> */ }
15
16
< CheckBox checked = { check } onPress = { ( ) => setCheck ( ! check ) } />
16
- < Text style = { styles . reminderText } > { props . text } { completionState } </ Text >
17
+ < Text style = { styles . reminderText } > { props . text } </ Text >
18
+ { /* <Text style={styles.reminderText}>{completionState}{props.text}</Text> */ }
17
19
</ View >
18
20
{ /* <View style={styles.circular}></View> */ }
19
21
</ View >
You can’t perform that action at this time.
0 commit comments