Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Added prop type jsdocs and required
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam A. Zerella committed Apr 7, 2019
1 parent 37ac702 commit ad49532
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/file-upload/src/js/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,17 @@ const AUfileUpload = ( { id, name, text, ...attributeOptions } ) => (

AUfileUpload.propTypes = {
/**
*
* The file input ID
*/
id: PropTypes.string,
/**
*
* The label name to match the ID
*/
name: PropTypes.string,
/**
* The label text description
*/
text: PropTypes.string
};


Expand Down

0 comments on commit ad49532

Please sign in to comment.