/* eslint-disable @typescript-eslint/no-explicit-any */ import _ from 'lodash'; export default function Avatar( props: any & { avatar: string; size: 28 | 14 | 48; }, ) { const size = props.size || 14; const className = ' inline-block h-' + size + ' w-' + size + ' rounded-full overflow-hidden bg-zinc-200 ' + (props.className || ''); if (props.avatar || props.src) { return (
); } return ( ); }