gantri-components 2.134.0-beta.7 → 2.134.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,8 +28,6 @@ export type FileUploaderProps = {
|
|
|
28
28
|
/** Used to show loading indicator for `'thumbnail'` variant. For the `'button'` variant, it can be passed here or as part of `buttonProps`. */
|
|
29
29
|
processing: boolean;
|
|
30
30
|
purifyFileName?: boolean;
|
|
31
|
-
/** Sets the size of the thumbnail variant box. */
|
|
32
|
-
thumbnailSize?: BoxProps['width'];
|
|
33
31
|
transformThumbnailSrc?: TransformThumbnailSrc;
|
|
34
32
|
/** If invalid, return the error message to display. */
|
|
35
33
|
validateFile?: ValidateFile;
|
|
@@ -140,6 +138,8 @@ export type FileUploaderDefaultProps = {
|
|
|
140
138
|
maxUploadsAllowed: number;
|
|
141
139
|
minImageHeight: number;
|
|
142
140
|
minImageWidth: number;
|
|
141
|
+
/** Sets the size of the thumbnail variant box. */
|
|
142
|
+
thumbnailSize: BoxProps['width'];
|
|
143
143
|
transformFileName: TransformFileName;
|
|
144
144
|
};
|
|
145
145
|
export type TransformFileName = (props: {
|