package Ġcom . github . on ot ol iy . op pos ite . tre asure . app . alert Ċ Ċ import Ġcom . github . on ot ol iy . kotlin x . material ui . MT y pography Color Ċ import Ġcom . github . on ot ol iy . kotlin x . material ui . button . small Delete Button Ċ import Ġcom . github . on ot ol iy . kotlin x . material ui . m Typography Ċ import Ġcom . github . on ot ol iy . op pos ite . tre asure . services . system . System Service Ċ import Ġkotlinx . css . Display Ċ import Ġkotlinx . css . display Ċ import Ġreact . R Builder Ċ Ċ fun ĠR Builder . app Alert Component ( message : ĠString ) Ġ{ ĊĠĠĠ Ġapp Alert Wrapper Ġ{ ĊĠĠĠĠĠĠĠ Ġcss . display Ġ= Ġif Ġ( message . isNotBlank ()) ĠDisplay . flex Ġelse ĠDisplay . none ĊĠĠĠĠĠĠĠ Ġm Typography ( message , Ġcolor Ġ= ĠM Typography Color . secondary ) ĊĠĠĠĠĠĠĠ Ġsmall Delete Button ({ ĠSystem Service . set Alert ("") Ġ}) ĊĠĠĠ Ġ} Ċ } Ċ