mirror of
https://github.com/fleetdm/fleet
synced 2026-05-18 14:38:53 +00:00
* Conditionally renders vulnerability div and issue tooltip * Refactors IconToolTip to include an Error icon * Add vulnerabilities to type interface, small cleanup Co-authored-by: Rachel Elysia Perkins <rachel@fleetdm.com>
17 lines
407 B
TypeScript
17 lines
407 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
type: PropTypes.string,
|
|
name: PropTypes.string,
|
|
version: PropTypes.string,
|
|
id: PropTypes.number,
|
|
vulnerabilities: PropTypes.arrayOf(
|
|
PropTypes.shape({
|
|
id: PropTypes.number,
|
|
uid: PropTypes.number,
|
|
username: PropTypes.string,
|
|
type: PropTypes.string,
|
|
groupname: PropTypes.string,
|
|
})
|
|
),
|
|
});
|