mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
17 lines
371 B
TypeScript
17 lines
371 B
TypeScript
import PropTypes from "prop-types";
|
|
import { UserRole } from "./user";
|
|
|
|
export default PropTypes.shape({
|
|
disabled: PropTypes.bool,
|
|
label: PropTypes.string,
|
|
value: PropTypes.any, // eslint-disable-line react/forbid-prop-types
|
|
helpText: PropTypes.string,
|
|
});
|
|
|
|
export interface IRole {
|
|
disabled: boolean;
|
|
label: string;
|
|
value: UserRole;
|
|
helpText?: string;
|
|
}
|