Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

417 B
Raw Blame
import { getBoardByNameAsync } from "@homarr/api/board-server";

import { BoardOtherHeaderActions } from "../_header-actions";
import { createBoardLayout } from "../_layout-creator";

export default createBoardLayout<{ locale: string; name: string }>({
  headerActions: <BoardOtherHeaderActions />,
  withCustomCss: false,
  async getInitialBoardAsync({ name }) {
    return await getBoardByNameAsync(name);
  },
});