mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
cb58849d95
## Addresses #9371 ### Adds a suite of UI logic for premium features in the Sandbox environment For reviewer: please review the work for the below 3 substasks, which are the only remaining subtasks encompassed by this PR that have not yet passed review individually: - #10822 (9) - #10823 (10) - #10824 (11) ## Checklist for submitter - [x] Changes file added for user-visible changes in `changes/` - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com> Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
15 lines
338 B
TypeScript
15 lines
338 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 | JSX.Element;
|
|
value: string | number;
|
|
premiumOnly?: boolean;
|
|
}
|