INNER CODE UNIT · Python
build
rio-labs/rio · rio/app.py:47
def build(self) -> rio.Component:
return rio.Rectangle(
content=rio.Row(
rio.Icon(
"material/signal_disconnected",
fill="danger",
min_width=1.6,
min_height=1.6,
),
rio.Text(
"Disconnected",
selectable=False,
fill=self.session.theme.hud_palette.foreground,
font_weight="bold",
),
spacing=0.8,
margin_x=2.5,
margin_y=1.5,