@helpwave/hightide
Version:
helpwave's component and theming library
32 lines (29 loc) • 923 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { HTMLAttributes, ReactNode } from 'react';
type SocialType = 'mail' | 'github' | 'linkedin' | 'website' | 'medium';
type SocialIconProps = {
type: SocialType;
url: string;
size?: number;
};
type ProfileProps = HTMLAttributes<HTMLDivElement> & {
name: string;
imageUrl: string;
badge?: ReactNode;
prefix?: string;
suffix?: string;
roleBadge?: string;
role?: string;
/**
* The list of tags for the
*/
tags?: string[];
info?: string;
socials?: SocialIconProps[];
imageClassName?: string;
};
/**
* A Component for showing a Profile
*/
declare const Profile: ({ name, imageUrl, badge, prefix, suffix, roleBadge, role, tags, info, socials, className, imageClassName, ...divProps }: ProfileProps) => react_jsx_runtime.JSX.Element;
export { Profile, type ProfileProps, type SocialIconProps };