Comment
A comment with the person's initials, name, time and text.
A comment with the person's initials, name, time and text.
npm install @mantine/core
First time with Mantine UI? Set it up once.
/**
* Component from Mantine UI, https://ui.mantine.dev
* MIT License, Copyright (c) 2022 Vitaly Rtischev. Full text: https://github.com/mantinedev/ui.mantine.dev/blob/master/LICENCE
* Changed for Tastebud: the avatar photo is initials and the sample copy is new.
*/
import { Avatar, Group, Text } from '@mantine/core';
export function CommentSimple() {
return (
<div>
<Group>
<Avatar
name="Jacob Warnhalter"
alt="Jacob Warnhalter"
radius="xl"
/>
<div>
<Text size="sm">Jacob Warnhalter</Text>
<Text size="xs" c="dimmed">
10 minutes ago
</Text>
</div>
</Group>
<Text pl={54} pt="sm" size="sm">
I tried the new layout on my phone this morning. The buttons are easier to reach now, and the
menu stays out of the way while I read. One small thing: the search box could sit a little
higher on the page.
</Text>
</div>
);
}
Changed for this site: The avatar photo is initials and the sample copy is new.