Moved to ReactJS
This commit is contained in:
parent
c8ef2b248f
commit
1d0ebeb2b7
100 changed files with 1909 additions and 6056 deletions
|
|
@ -5,13 +5,13 @@ import { Card, CardHeader } from "@tensamin/ui/card";
|
|||
|
||||
export default function Basic(props: { user: User }) {
|
||||
return (
|
||||
<Card class="animate-in fade-in duration-300 rounded-2xl">
|
||||
<CardHeader class="flex flex-row gap-2.5 items-center justify-start p-2">
|
||||
<Card className="animate-in fade-in duration-300 rounded-2xl">
|
||||
<CardHeader className="flex flex-row gap-2.5 items-center justify-start p-2">
|
||||
<Avatar
|
||||
img={props.user.avatar}
|
||||
fallback={reduceDisplay(props.user.display)}
|
||||
/>
|
||||
<div class="flex flex-col gap-1 w-full items-start justify-center text-[15px]">
|
||||
<div className="flex flex-col gap-1 w-full items-start justify-center text-[15px]">
|
||||
<p>{props.user.display}</p>
|
||||
</div>
|
||||
</CardHeader>
|
||||
|
|
|
|||
Loading…
Reference in a new issue