@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
1 lines • 852 B
Source Map (JSON)
{"version":3,"file":"Avatar.mjs","names":["Avatar: FC<AvatarProps>","Color"],"sources":["../../../../src/icons/NextAuth/components/Avatar.tsx"],"sourcesContent":["'use client';\n\nimport { IconAvatar, type IconAvatarProps } from '@lobehub/icons';\nimport { type FC } from 'react';\n\nimport { COLOR_PRIMARY, TITLE } from '../style';\nimport Color from './Color';\n\nexport type AvatarProps = Omit<IconAvatarProps, 'Icon'>;\n\nconst Avatar: FC<AvatarProps> = ({ background, ...rest }) => {\n return (\n <IconAvatar\n Icon={Color}\n aria-label={TITLE}\n background={background || COLOR_PRIMARY}\n iconMultiple={0.7}\n {...rest}\n />\n );\n};\n\nexport default Avatar;\n"],"mappings":";;;;;;;;AAUA,MAAMA,UAA2B,EAAE,YAAY,GAAG,WAAW;AAC3D,QACE,oBAAC;EACC,MAAMC;EACN,cAAY;EACZ,YAAY,cAAc;EAC1B,cAAc;EACd,GAAI;GACJ;;AAIN,qBAAe"}