mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
d1a18bcb89
* Allow form field values to be an array * Send the server host and label ids on create * Get and display the targets in a pack * Adds target_type to labels and hosts * Allow updating a pack’s targets as well as name and description * Adds select targets dropdown to edit pack page * Adds targets to dropdown when pack is edited
12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
import { PropTypes } from 'react';
|
|
|
|
export default PropTypes.shape({
|
|
error: PropTypes.string,
|
|
name: PropTypes.string,
|
|
onChange: PropTypes.func,
|
|
value: PropTypes.oneOfType(
|
|
[PropTypes.array, PropTypes.bool, PropTypes.number, PropTypes.string]
|
|
),
|
|
});
|
|
|