Skip to content

Commit

Permalink
Change button text prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
wpalani committed Jan 29, 2025
1 parent 6149bba commit 1857c0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/image-import/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Label from "../../elements/label";
* @param {string} imageInputVariant Image input variant.
* @param {string} previewImage Preview image.
* @param {string} previewImageAlt Preview image alt.
* @param {string} importText Import text.
* @param {string} buttonText Button text.
* @param {string} buttonVariant Button variant.
* @param {Function} onClick On click callback.
* @param {Function} onChange On change callback.
Expand All @@ -32,7 +32,7 @@ const ImageImport = forwardRef( ( {
imageInputVariant,
previewImage,
previewImageAlt,
importText,
buttonText,
buttonVariant,
onClick,
onChange,
Expand Down Expand Up @@ -113,7 +113,7 @@ const ImageImport = forwardRef( ( {
variant={ imageInputVariant }
previewImage={ previewImage }
previewImageAlt={ previewImageAlt }
buttonText={ importText }
buttonText={ buttonText }
buttonVariant={ buttonVariant }
onClick={ onClick }
onChange={ onChange }
Expand Down

0 comments on commit 1857c0e

Please sign in to comment.