import { IDirectoryItem } from "models" ; import { IColumnProps , IThemeableProps } from "props/common" ; /** Describes the properties of a directory item component. */ interface IDirectoryItemProps extends IThemeableProps , IColumnProps { /** The underlying model for a DirectoryItem component. */ model : IDirectoryItem ; /** Whether the item is selected. */ isSelected : boolean ; /** Whether the item is chosen. */ isChosen : boolean ; /** Callback function to send path up to parent. */ sendPathUp ( path ) : void ; /** Callback function to send selected item up to parent. */ sendSelectedItemUp ( itemToSelect ) : void ; /** Callback function to send deletion request up to parent. */ sendDeletionUp ( ) : void ; } export default IDirectoryItemProps ;