File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
components/file-mosaic/hooks Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import { IconsMap , Localization } from "../core" ;
22
3- export type FilesUiConfig = {
3+ export type FilesUIConfig = {
44 /**
55 * If true, dark mode colors are used in FileMosaic and FIleCard components.
66 */
Original file line number Diff line number Diff line change 11import React from "react" ;
2- import { FilesUiConfig } from "./FilesUiContextType " ;
2+ import { FilesUIConfig } from "./FilesUIConfig " ;
33
4- export const FilesUiContext : React . Context < FilesUiConfig >
4+ export const FilesUiContext : React . Context < FilesUIConfig >
55 = React . createContext ( { } ) ;
Original file line number Diff line number Diff line change 11import * as React from "react" ;
2+ import { FilesUIConfig } from "./FilesUIConfig" ;
23import { FilesUiContext } from "./FilesUiContext" ;
3- import { FilesUiConfig } from "./FilesUiContextType" ;
44
55interface FilesUiProviderProps {
66 children : React . ReactNode ;
7- config ?: FilesUiConfig ;
7+ config ?: FilesUIConfig ;
88}
99const FilesUiProvider : React . FC < FilesUiProviderProps > = (
1010 props : FilesUiProviderProps
Original file line number Diff line number Diff line change 11import * as React from "react" ;
22import { getURLFileIco , readAsDataURL } from "../../../core" ;
33import { getURLFileIcoFromNameAndType } from "../../../core/mime/mime" ;
4- import { IconsConfig } from "../../../FilesUiProvider/FilesUiContextType " ;
4+ import { IconsConfig } from "../../../FilesUiProvider/FilesUIConfig " ;
55
66/**
77 * Initializer hook for FileItemNeo
You can’t perform that action at this time.
0 commit comments