Skip to content

Commit

Permalink
Version 1.0.0-alpha.7
Browse files Browse the repository at this point in the history
Removed all references to React.FC

Added missing export OptionsButton
  • Loading branch information
NicholasMata committed Oct 13, 2024
1 parent 1b94af9 commit 61cc971
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mui-file-upload",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"description": "A library of components that are related to file uploads built on top of MUI",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/FileDropzone/FileDropzoneIconBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type FileDropzoneIconBodyProps = {
sx?: SxProps<Theme>;
};

export const FileDropzoneIconBody: React.FC<FileDropzoneIconBodyProps> = (props: FileDropzoneIconBodyProps) => {
export const FileDropzoneIconBody = (props: FileDropzoneIconBodyProps): JSX.Element => {
const { dropzoneState, openFileSelector } = useFileDropzoneContext();
const { disabled } = dropzoneState;
const {
Expand Down
1 change: 1 addition & 0 deletions src/components/ImagePreview/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ export * from './DeleteButton';
export * from './DownloadButton';
export * from './FullscreenButton';
export * from './ImagePreview';
export * from './OptionsButton';

0 comments on commit 61cc971

Please sign in to comment.