Building the FolderBlockChkStatus component

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:

  1. 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" ...

Get Blockchain Development for Finance Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.