mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
18 lines
351 B
TypeScript
18 lines
351 B
TypeScript
import { Avatar, Group, Text } from '@mantine/core';
|
|
|
|
interface smallAppItem {
|
|
label: string;
|
|
icon?: string;
|
|
url?: string;
|
|
}
|
|
|
|
export default function SmallAppItem(props: any) {
|
|
const { app }: { app: smallAppItem } = props;
|
|
return (
|
|
<Group>
|
|
{app.icon && <Avatar src={app.icon} />}
|
|
<Text>{app.label}</Text>
|
|
</Group>
|
|
);
|
|
}
|