mirror of
https://github.com/outline/outline.git
synced 2026-11-27 16:08:58 +03:00
* Initial plan * Fix React Doctor errors: aria-selected, key props, alt attributes, layout animation, nested component, reduced motion Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> * Fix remaining React Doctor errors: refactor useTrackLastVisitedPath to avoid useEffect Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> * Revert useMeasure change --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
20 lines
505 B
TypeScript
20 lines
505 B
TypeScript
import { t } from "i18next";
|
|
import * as React from "react";
|
|
import { cdnPath } from "@shared/utils/urls";
|
|
import { Hook, PluginManager } from "~/utils/PluginManager";
|
|
import config from "../plugin.json";
|
|
import { Notion } from "./Imports";
|
|
|
|
PluginManager.add([
|
|
{
|
|
...config,
|
|
type: Hook.Imports,
|
|
value: {
|
|
title: "Notion",
|
|
subtitle: t("Import pages from Notion"),
|
|
icon: <img src={cdnPath("/images/notion.png")} alt="" width={28} />,
|
|
action: <Notion />,
|
|
},
|
|
},
|
|
]);
|