mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-08-01 19:02:58 -04:00
* Test * Add pretty formatting * Fix Tests * Fix Tests * Fix Tests * Fix * Add pretty formatting fix * Fix * Test * Fix tests * Clean typeckech * Add prettier check * Fix api tsconfig * Fix api tsconfig * Fix tsconfig * Fix * Fix * Prettier
12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
import Link from 'next/link'
|
|
import {linkClass} from 'web/components/widgets/site-link'
|
|
|
|
export const UserMention = (props: {userName: string}) => {
|
|
const {userName} = props
|
|
return (
|
|
<Link href={`/${userName}`} className={linkClass}>
|
|
@{userName}
|
|
</Link>
|
|
)
|
|
}
|