Skip to main content

DevicePickerMenu

Function DevicePickerMenu 

Source
pub fn DevicePickerMenu(props: DevicePickerMenuProps) -> impl IntoView
Expand description

§Required Props

  • kind: CaptureSourceKind
    • Whether this picker is for the camera or microphone slot.
  • devices: Vec<DeviceOptionView>
    • Device list — typically fixtures::devices::sample_camera_options(). Ignored when state != Populated.

§Optional Props