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

Commit ad49532

Browse files
author
Adam A. Zerella
committed
Added prop type jsdocs and required
1 parent 37ac702 commit ad49532

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/file-upload/src/js/react.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,17 @@ const AUfileUpload = ( { id, name, text, ...attributeOptions } ) => (
2929

3030
AUfileUpload.propTypes = {
3131
/**
32-
*
32+
* The file input ID
3333
*/
3434
id: PropTypes.string,
3535
/**
36-
*
36+
* The label name to match the ID
3737
*/
3838
name: PropTypes.string,
39+
/**
40+
* The label text description
41+
*/
42+
text: PropTypes.string
3943
};
4044

4145

0 commit comments

Comments
 (0)