synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
16 lines • 760 B
TypeScript
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