infinity-forge
Version:
17 lines (16 loc) • 721 B
TypeScript
import { RenderFileProps, FileSystemType } from '../../../../../ui/index.js';
export declare function useComponentsFile(props: RenderFileProps & {
downloadUrl?: string;
file: FileSystemType;
}): {
FileNameEditable: () => import("react/jsx-runtime").JSX.Element;
DownloadButton: () => import("react/jsx-runtime").JSX.Element;
DeleteFileButton: () => import("react/jsx-runtime").JSX.Element;
ShowDetailFileButton: () => import("react/jsx-runtime").JSX.Element;
};
type InputFileNameProps = {
initialName: string;
onChange: (newName: string) => void;
};
export declare function InputFileName({ initialName, onChange }: InputFileNameProps): import("react/jsx-runtime").JSX.Element;
export {};