mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
2ab1d106b0
* 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
14 lines
299 B
TypeScript
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;
|
|
}
|