@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
39 lines (38 loc) • 1.51 kB
TypeScript
export default DeviceListCall;
/**
* @deprecated - Components in the legacy folder (/src/legacy) are deprecated. Please use a component from the components folder (/src/components) instead. Legacy components may not follow accessibility standards.
**/
declare class DeviceListCall extends React.PureComponent<any, any, any> {
constructor(props: any);
constructor(props: any, context: any);
state: {
selectedIndex: any;
};
handleSelect: (e: any, opts: any) => void;
render(): JSX.Element;
}
declare namespace DeviceListCall {
namespace defaultProps {
let className: string;
let defaultSelected: any;
let onSelect: any;
}
namespace propTypes {
let className_1: PropTypes.Requireable<string>;
export { className_1 as className };
let defaultSelected_1: PropTypes.Requireable<NonNullable<string | number>>;
export { defaultSelected_1 as defaultSelected };
export let devices: PropTypes.Validator<PropTypes.InferProps<{
name: PropTypes.Validator<string>;
value: PropTypes.Requireable<string>;
type: PropTypes.Requireable<string>;
title: PropTypes.Requireable<string>;
}>[]>;
export let header: PropTypes.Validator<string>;
let onSelect_1: PropTypes.Requireable<(...args: any[]) => any>;
export { onSelect_1 as onSelect };
}
let displayName: string;
}
import React from 'react';
import PropTypes from 'prop-types';