UNPKG

@animech-public/chonky

Version:

A File Browser component for React

18 lines (17 loc) 804 B
/** * @author Timur Kuzhagaliyev <tim.kuzh@gmail.com> * @copyright 2020 * @license MIT */ import React from 'react'; import { FileBrowserHandle, FileBrowserProps } from '../../types/file-browser.types'; import { ColumnDefinition } from '../file-list/FileList'; export interface FullFileBrowserProps extends FileBrowserProps { /** * Overrides column definitions for the list view, allowing customization of * which properties to display and how they are presented. * When not specified, default definitions will be used for the 'icon', 'name', 'size' and 'modDate' properties. */ columns?: ColumnDefinition[]; } export declare const FullFileBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<FullFileBrowserProps & React.RefAttributes<FileBrowserHandle>>>;