Official
ui
The look of the app's components: buttons, list rows, cards, settings, callouts, and the blocks and tables of replies. Edit a component here and the whole app draws with it.
The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/ui@0.1.0
Permissions in 0.1.0
Files
components/empty.tsx416 B
/** @jsxRuntime classic */
/** @jsx template */
// What a view shows when it has nothing to list.
import { prop, type Definition, template } from "../define.ts";
export const empty: Definition = {
props: { text: "" },
template: <div display="flex" alignItems="center" justifyContent="center" width="fill" height="fill" padding="1rem" fontSize="sm" color="mutedForeground"><text text={prop("text")} /></div>,
};
No comments yet.