updateSaveButton()}
+ placeholder="Hi team, I'm going to be away..."
+ rows={4}
+ variant="outlined"
+ />
+
+ {showAwayDescriptionForTeamLeads ? (
+ setShowAwayDescriptionForTeamLeads(false)}>Hide explanation for team lead(s)
+ ) : (
+ setShowAwayDescriptionForTeamLeads(true)}>Add explanation for team lead(s) only
+ )}
+
+ updateSaveButton()}
+ placeholder="I'm going to be away for 2 weeks, starting next week..."
+ rows={3}
+ sx={!showAwayDescriptionForTeamLeads && {
+ position: 'absolute',
+ left: '-9999px',
+ width: '1px',
+ height: '1px',
+ overflow: 'hidden',
+ }}
+ variant="outlined"
+ />
+