fone-design-system_v2 1.0.309 → 1.0.310

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.
@@ -1,6 +1,6 @@
1
1
  import { SxProps, Theme } from '@mui/material/styles';
2
2
  export interface FileUploadProps {
3
- buttonChildren?: React.ReactNode;
3
+ buttonSlot?: React.ReactNode;
4
4
  accept?: "svg" | "png" | "jpg" | string;
5
5
  multiple?: boolean;
6
6
  value?: string;
@@ -13,5 +13,5 @@ export interface FileUploadProps {
13
13
  sx?: SxProps<Theme>;
14
14
  buttonOnly?: boolean;
15
15
  }
16
- declare const FileUpload: ({ buttonChildren, accept, multiple, value, onChange, onClear: onClearProp, fullWidth, imgValue, size, disabled, sx, buttonOnly, }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const FileUpload: ({ buttonSlot, accept, multiple, value, onChange, onClear: onClearProp, fullWidth, imgValue, size, disabled, sx, buttonOnly, }: FileUploadProps) => import("react/jsx-runtime").JSX.Element;
17
17
  export default FileUpload;
@@ -7,5 +7,5 @@ export interface SvgUploadProps extends Omit<FileUploadProps, "accept" | "value"
7
7
  onChange?: React.ChangeEventHandler<HTMLInputElement>;
8
8
  buttonOnly?: boolean;
9
9
  }
10
- declare const SvgUpload: ({ value, viewTypes, buttonChildren, buttonOnly, onChange, ...rest }: SvgUploadProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const SvgUpload: ({ value, viewTypes, buttonSlot, buttonOnly, onChange, ...rest }: SvgUploadProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export default SvgUpload;