Skip to content

Commit

Permalink
Change source-related comments to include numeric format
Browse files Browse the repository at this point in the history
  • Loading branch information
paultsimura committed Oct 4, 2023
1 parent 688b129 commit a5dc51c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const pagePropTypes = {
/** Whether source url requires authentication */
isAuthTokenRequired: PropTypes.bool,

/** URL to full-sized attachment or SVG function */
/** URL to full-sized attachment, SVG function, or numeric static image on native platforms */
source: AttachmentsPropTypes.attachmentSourcePropType.isRequired,

isActive: PropTypes.bool.isRequired,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Attachments/AttachmentView/propTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ const attachmentViewPropTypes = {
/** Whether source url requires authentication */
isAuthTokenRequired: PropTypes.bool,

/** URL to full-sized attachment or SVG function */
/** URL to full-sized attachment, SVG function, or numeric static image on native platforms */
source: AttachmentsPropTypes.attachmentSourcePropType.isRequired,

/** File object maybe be instance of File or Object */
/** File object can be an instance of File or Object */
file: AttachmentsPropTypes.attachmentFilePropType,

/** Whether this view is the active screen */
Expand Down
4 changes: 2 additions & 2 deletions src/components/Attachments/propTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const attachmentPropType = PropTypes.shape({
/** Whether source url requires authentication */
isAuthTokenRequired: PropTypes.bool,

/** URL to full-sized attachment or SVG function */
/** URL to full-sized attachment, SVG function, or numeric static image on native platforms */
source: attachmentSourcePropType.isRequired,

/** File object maybe be instance of File or Object */
/** File object can be an instance of File or Object */
file: attachmentFilePropType,
});

Expand Down

0 comments on commit a5dc51c

Please sign in to comment.