title: Highlight pressed(selected) date in React Native Calendars
body: <p>In the project that I have, I used react-native-calendars library. Currently, I am able to get date by onPress. But the question is how to highlight that date. Logic: when the user presses the date it should be highlighted in whatever colour. The major reason is to distinguish the selected date from the rest of the dates. This is source <a href="https://snack.expo.io/H12PVcmJL" rel="noreferrer">code</a></p>
  
  <p>This is a snippet of my code where which is responsible for getting the current date:</p>
  
  <pre><code>state={
    selectedDate: '',
  }
  
  const getSelectedDayEvents = (date) =&gt; {
      let serviceDate = moment(date);
      serviceDate = serviceDate.format("DD.MM.YYYY");
      this.setState({selectedDate: serviceDate});
  };
  </code></pre>