Skip to content

Commit

Permalink
Update proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 14, 2021
1 parent a6df963 commit 4a1388e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Assignment/Assignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export default function Assignment({ by, to, datetime }){
}

Assignment.propTypes = {
/** The person who changed the assignment. */
/** The career account alias of the person who changed the assignment. */
"by": PropTypes.string.isRequired,
/** The person the item was assigned to. */
/** The career account alias of the person the item was assigned to. */
"to": PropTypes.string.isRequired,
/** The time the assignment was changed in ISO 8601 format. */
/** Any string, number or Date object understood by React Relative Time. See https://github.com/aharshac/react-relative-time#readme. */
"datetime": PropTypes.string.isRequired
}

0 comments on commit 4a1388e

Please sign in to comment.