@cobuildlab/8base-chat
Version:
Chat component that uses 8base
16 lines (15 loc) • 437 B
TypeScript
/// <reference types="react" />
interface IAction {
title: string;
onClick: (dropdownOpts: {
closeDropdown: () => void;
}) => void;
}
interface IFileActionsProps {
moreActions?: IAction[];
isSquared?: boolean;
isOwner?: boolean;
downloadUrl?: string | null;
}
declare function FileActions({ moreActions, downloadUrl, isSquared, isOwner, }: IFileActionsProps): JSX.Element;
export default FileActions;