Okay so if you want to control what is displayed on the frontend that is controlled in the save setting since that is what is saved in the database and displayed on the frontend.
You can either use classnames to control display via CSS or use a conditional to not even load the component if toggle is enabled.
Here is some help with JSX conditionals if you need 🙂
Hopefully that should solve the problem! Let me know if not 🙂