import React from 'react'; interface Props { /** * callback function when the button is clicked */ callback: (v: React.ChangeEvent) => void; /** * An error message to be shown docked at the bottom of the input. If null, nothing will show. */ error?: string | null; /** * id of the element */ id?: string; /** * extra classes to be applied to the input itself */ inputClass?: string; /** * If true, will show an (optional) tag next to the title. If false or not supplied, nothing will show. */ optional?: boolean; /** * the list options of the button */ options?: Array; /** * If true, will show a required *'s. If false or not supplied, nothing will show. */ required?: boolean; /** * extra classes to be applied */ themeClass?: string; /** * The title of the label */ title: string; } interface Options { title: string; value: string | number; selected: boolean; } declare const SelectDropdown: ({ callback, error, id, inputClass, optional, options, required, themeClass, title, }: Props) => JSX.Element; export default SelectDropdown;