mirror of
https://github.com/docmost/docmost.git
synced 2026-05-19 07:54:05 +08:00
de60aa7e61
* feat: synced blocks (transclusion) * fix:remove name * make placeholders smaller * feat: enforce strict transclusion schema * fix: scope synced blocks to workspace, gate unsync on edit permission * fix collab module error
14 lines
450 B
TypeScript
14 lines
450 B
TypeScript
import { IconEyeOff } from "@tabler/icons-react";
|
|
import { useTranslation } from "react-i18next";
|
|
import classes from "./transclusion.module.css";
|
|
|
|
export default function NoAccessPlaceholder() {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<div className={classes.placeholder}>
|
|
<IconEyeOff size={18} stroke={1.6} className={classes.placeholderIcon} />
|
|
<span>{t("You don't have access to this synced block")}</span>
|
|
</div>
|
|
);
|
|
}
|