The FolderBlockChkStatus component is probably the most complex component. It carries out the following tasks:
- Displays whether the current status of the directory is Directory is Tampered/Not Tampered
- Displays whether the current status of the file is Tampered or Not Tampered
- In the case that the directory is tampered with, displays the list of tampered files, added files, and removed files
Go through the following steps to build the FolderBlockChkStatus component:
- We start by rendering a simple menu bar to allow the user to navigate between the different categories of files:
<div className="panel-block"> <div className="columns "> <p className="column control"> <a className="button is-light" ...