mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-25 18:52:39 +00:00
* feat(plugins): support modal body layout, scrolling and clipboard actions * fix(app): keep native scroll dependencies out of web imports * fix(nix): sync dependency hash for plugin native types * test(plugins): express modal QA as user journeys
22 lines
578 B
TypeScript
22 lines
578 B
TypeScript
import type { PluginClientContext } from "@getpaseo/plugin";
|
|
import { ModalExamples } from "./client/examples";
|
|
|
|
export default function contribute(plugin: PluginClientContext) {
|
|
plugin.addSurface("main", ModalExamples);
|
|
plugin.addSidebarItem({
|
|
id: "main",
|
|
title: "Modal examples",
|
|
icon: "PanelsTopLeft",
|
|
surface: "main",
|
|
});
|
|
plugin.addWorkspacePanel({
|
|
id: "examples",
|
|
title: "Modal examples",
|
|
icon: "PanelsTopLeft",
|
|
context: "workspace",
|
|
locations: ["workspace", "explorer"],
|
|
Component: ModalExamples,
|
|
});
|
|
return () => {};
|
|
}
|