@prezly/theme-kit-ui
Version:
UI components for Prezly themes
22 lines (21 loc) • 834 B
TypeScript
import type { NewsroomContact } from '@prezly/sdk';
export declare function ContactCard({ contact, className }: ContactCard.Props): import("react/jsx-runtime").JSX.Element;
export declare namespace ContactCard {
interface DisplayedContact {
avatar_image: NewsroomContact['avatar_image'];
name: NewsroomContact['name'];
description: NewsroomContact['description'];
company: NewsroomContact['company'];
email: NewsroomContact['email'];
phone: NewsroomContact['phone'];
mobile: NewsroomContact['mobile'];
website: NewsroomContact['website'];
facebook: NewsroomContact['facebook'];
twitter: NewsroomContact['twitter'];
avatar_url?: string | null;
}
interface Props {
contact: DisplayedContact;
className?: string;
}
}