UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

16 lines 760 B
import { IconProps } from '@/components/Icon/Icon'; import { FileHandleAssociation } from '@sage-bionetworks/synapse-types'; export type GenericCardIconProps = { /** May be used to determine the icon if `useTypeForIcon` is true */ type: string; /** If true, the icon is determined using the 'type' field passed to the generic card * @default false */ useTypeForIcon?: boolean; imageFileHandleId?: string; thumbnailRequiresPadding?: boolean; fileHandleAssociation?: FileHandleAssociation; iconOptions?: IconProps['iconOptions']; iconValue?: IconProps['value']; }; export declare function GenericCardIcon(props: GenericCardIconProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=GenericCardIcon.d.ts.map