mirror of
https://github.com/docmost/docmost.git
synced 2026-07-25 23:34:44 +10:00
06d854a7d2
* ui polishing * frontend and backend fixes
20 lines
478 B
TypeScript
20 lines
478 B
TypeScript
import { UnstyledButton, Group, Avatar, Text, rem } from "@mantine/core";
|
|
import classes from "./space-name.module.css";
|
|
|
|
interface SpaceNameProps {
|
|
spaceName: string;
|
|
}
|
|
export function SpaceName({ spaceName }: SpaceNameProps) {
|
|
return (
|
|
<UnstyledButton className={classes.spaceName}>
|
|
<Group>
|
|
<div style={{ flex: 1 }}>
|
|
<Text size="md" fw={500}>
|
|
{spaceName}
|
|
</Text>
|
|
</div>
|
|
</Group>
|
|
</UnstyledButton>
|
|
);
|
|
}
|