How to hid or show tab

I am wondering if hide or show Tab1 according to the input$display

---
title: trial
output:
  flexdashboard::flex_dashboard:
  logo: cornoavirus.png
  orientation: rows
  social: menu
  vertical_layout: fill
runtime: shiny
---
  
```{r setup, include=FALSE}
#------------------ Packages ------------------
library(dplyr)
library(flexdashboard)
library(shiny)
library(shinyWidgets)

Column {.sidebar data-width=350}

radioButtons("display", "Display",
            choices = c("Show", "Hide"), 
            selected = "Show")
show_hide <- reactive({input$display})

Row {.tabset}

Tab1

Tab2