fleet/frontend/interfaces/dropdownOption.ts
Gabe Hernandez 2ab1d106b0
team add new host UI (#723)
* added permissions for adding host button on host page

* added teams to add host modal dropdown

* add placeholder for dropdown and fix some type issues

* added add host redirect modal on team details
2021-05-12 14:06:39 +01:00

14 lines
299 B
TypeScript

import PropTypes from "prop-types";
export default PropTypes.shape({
disabled: PropTypes.bool,
label: PropTypes.string,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
});
export interface IDropdownOption {
disabled: boolean;
label: string;
value: string | number;
}