@types/carbon-components-react
Version:
TypeScript definitions for carbon-components-react
15 lines (11 loc) • 460 B
TypeScript
import * as React from "react";
import { ForwardRefReturn } from "../../../typings/shared";
export interface SideNavSwitcherProps {
children?: React.ReactNode | undefined,
className?: string | undefined,
labelText: string;
onChange?(event: React.ChangeEvent<HTMLSelectElement>): void,
options: readonly string[],
}
declare const SideNavSwitcher: ForwardRefReturn<HTMLSelectElement, SideNavSwitcherProps>;
export default SideNavSwitcher;