import { Component } from 'react'; interface ISwitchListProps { readonly disabled?: boolean; readonly onChange: (optionKey: string) => void; readonly options: { [key: string]: string; }; readonly initialActive?: string; readonly showSpinner?: boolean; } interface IState { active?: string; } export default class SwitchList extends Component { state: { active: string | undefined; }; handleClick: (optionKey: string) => void; renderItems: () => JSX.Element[]; render(): JSX.Element; } export {};