import * as React from 'react'; import HIDComponentProps from '../ComponentModel/HIDComponentModel'; export interface HIDDropdownProps extends HIDComponentProps { /**Dropdown options - array of JSON objects*/ options: [any]; /**Specify the JSON field which is used as option's key */ keyField?: string; /**Specify the JSON field which is used as option's value */ valueField?: string; /** Dropdown selection type*/ type: 'single' | 'multiple'; /** Label for the dropdown*/ label: string; /** placeholder of the dropdown*/ placeholder?: string; /** boolean to set error*/ error?: boolean; /** text to be displayed when error*/ errorText?: string; /** Callback function for onChange event, Selected values will be available as params*/ callback?: () => void; } export interface HIDDropdownState { options: [any]; } /** * ### The API documentation of the HID Dropdown React component. Learn more about the properties and the API Methods. * */ export default class HIDDropdown extends React.Component { constructor(props: any); render(): JSX.Element; }