@deep-foundation/deepcase
Version:
[](https://gitpod.io/#https://github.com/deep-foundation/deepcase) [](https://discord.gg/deep-
47 lines (46 loc) • 1.7 kB
TypeScript
import React from 'react';
import { IPackageProps } from './cyto-react-links-packages';
import { Id } from '@deep-foundation/deeplinks/imports/minilinks';
interface IGridPanel {
id: Id;
src?: string;
alt?: string;
}
export interface ITypeIcon {
src: Id;
borderColor?: any;
borderWidth?: any;
boxSize?: string;
[key: string]: any;
scrollRef?: any;
}
export declare const TypeIcon: React.MemoExoticComponent<({ src, borderColor, borderWidth, boxSize, scrollRef, ...props }: ITypeIcon) => import("react/jsx-runtime").JSX.Element>;
export declare const GridPanel: React.MemoExoticComponent<({ borderColor, borderColorSelected, data, selectedLink, onSelectLink, gridTemplateColumns, columnGap, rowGap, }: {
borderColor?: string;
borderColorSelected?: string;
data: IGridPanel[];
selectedLink: Id;
onSelectLink?: (linkId: Id) => any;
gridTemplateColumns?: string;
columnGap?: number;
rowGap?: number;
}) => import("react/jsx-runtime").JSX.Element>;
export declare const NoResults: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
export declare const CytoReactLinksCard: React.MemoExoticComponent<({ elements, packages, onSubmit, onClose, loading, noResults, search, onSearch, fillSize, selectedLinkId, }: {
elements: {
id: Id;
src: string;
linkName: string;
containerName: string;
}[];
packages?: IPackageProps[];
onSubmit?: (id: Id) => any;
onClose?: () => any;
loading?: boolean;
noResults?: boolean;
search?: any;
onSearch?: any;
fillSize?: boolean;
selectedLinkId?: Id;
}) => import("react/jsx-runtime").JSX.Element>;
export {};