Files
agency/.pnpm-store/v3/files/67/20a842fa8d9a09dbe42c153c87bcd37a47e80975cff3662641bf07b99706e2f53485c50e9ec2d670a000a173a0dcc7ef8ec2a967dea9ef9b40064a1dccbc48
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

16 lines
868 B
Plaintext

import React from 'react'
export function Avatar({ size = 32, style, children, ...rest }) {
return (
<span style={{position:'relative',display:'inline-flex',alignItems:'center',justifyContent:'center',width:size,height:size,flexShrink:0,borderRadius:'var(--radius-full)',overflow:'hidden',border:'1px solid var(--border)',background:'linear-gradient(to bottom right,var(--muted-foreground),var(--surface-3))',...style}} {...rest}>
{children}
</span>
)
}
export function AvatarImage({ src, alt = '', style, ...rest }) {
return <img src={src} alt={alt} style={{width:'100%',height:'100%',objectFit:'cover',...style}} {...rest} />
}
export function AvatarFallback({ style, children, ...rest }) {
return <span style={{fontSize:'var(--text-xs)',fontWeight:'var(--weight-medium)',color:'var(--text-secondary)',...style}} {...rest}>{children}</span>
}