/** * Copyright IBM Corp. 2016, 2023 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { type ChangeEventHandler } from 'react'; export interface SideNavSwitcherProps { /** * Provide an optional class to be applied to the containing node */ className?: string; /** * Provide the label for the switcher. This will be the first visible option * when someone views this control */ labelText: string; /** * Provide a callback function that is called whenever the switcher value is * updated */ onChange?: ChangeEventHandler; /** * Provide an array of options to be rendered in the switcher as an * `