pub fn ModeToggle(_: ModeToggleProps) -> Element
For details, see the props struct definition.
mode
StudioMode
on_change
EventHandler<StudioMode>