UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

46 lines 1.48 kB
import "./EntityItem.scss"; import React from "react"; export type EntityItemAdditionalInfo = { type: "location"; locationName?: string; hall?: string; level?: string; showLevelLabel?: boolean; } | { type: "text"; text: string; }; export interface EntityItemProps { id: string; title: string; subtitle?: string; image?: string; icon?: string; typeColor?: string; iconClassName?: string; variant?: "default" | "person"; titleBadge?: string | number; datetime?: { date?: string; time?: string; }; subtitleLabel?: string; additionalInfo?: EntityItemAdditionalInfo[]; bookmarked?: boolean; featured?: boolean; visited?: boolean; current?: boolean; heatmapColor?: string; accentBorderColor?: string; hideUserState?: boolean; compactDetails?: boolean; secondaryText?: string; highlight?: string; featuredLabel: string; hallLabel: string; levelLabel: string; onClick?: (id: string) => void; } declare const EntityItem: ({ id, title, subtitle, image, icon, typeColor, iconClassName, variant, titleBadge, datetime, subtitleLabel, additionalInfo, bookmarked, featured, visited, current, heatmapColor, accentBorderColor, hideUserState, compactDetails, secondaryText, highlight, featuredLabel, hallLabel, levelLabel, onClick, }: EntityItemProps) => React.JSX.Element; export default EntityItem; //# sourceMappingURL=EntityItem.d.ts.map