cashdoc-cms-design-system 1.0.7 → 1.0.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.
@@ -15,6 +15,7 @@ export interface ImageUploadProps {
15
15
  disabled?: boolean;
16
16
  className?: string;
17
17
  showPreview?: boolean;
18
+ error?: boolean;
18
19
  onError?: (error: string) => void;
19
20
  validateImage?: (file: File, metadata: ImageMetadata) => string | null | Promise<string | null>;
20
21
  placeholder?: string;
@@ -148,6 +149,6 @@ export interface ImageUploadProps {
148
149
  * {@end-tool}
149
150
  */
150
151
  export declare const ImageUpload: {
151
- ({ value, onChange, maxFiles, maxSize, accept, disabled, className, showPreview, onError, validateImage, placeholder, placeholderActive, }: ImageUploadProps): import("react/jsx-runtime").JSX.Element;
152
+ ({ value, onChange, maxFiles, maxSize, accept, disabled, className, showPreview, error, onError, validateImage, placeholder, placeholderActive, }: ImageUploadProps): import("react/jsx-runtime").JSX.Element;
152
153
  displayName: string;
153
154
  };