@activecollab/components
Version:
ActiveCollab Components
18 lines • 674 B
TypeScript
import React, { Ref, ReactNode } from "react";
export type cardSection = "header" | "body" | "footer";
export interface IEntityProperties {
name: string;
render: () => ReactNode;
showInList?: boolean;
cardSection: cardSection;
className?: string;
}
export interface IEntityCardProps {
renderAs?: "list-item" | "grid-item";
properties: IEntityProperties[];
ref?: Ref<HTMLDivElement>;
link?: string;
className?: string;
}
export declare const EntityCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & IEntityCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=EntityCard.d.ts.map