UNPKG

mui2-file-dropzone

Version:

A Material-UI file-upload dropzone. Written in TypeScript.

9 lines 419 B
import type { Theme } from "@mui/material/styles"; import type { ComponentType } from "react"; import React from "react"; type WithoutTheme<P> = Omit<P, "theme">; declare function withTheme<P extends { theme?: Theme; }>(Component: ComponentType<P>): React.ForwardRefExoticComponent<React.PropsWithoutRef<WithoutTheme<P>> & React.RefAttributes<unknown>>; export { withTheme }; //# sourceMappingURL=withTheme.d.ts.map