import { Panel } from "@/app/interface/panel" import { pick } from "@/lib/pick" import { useStore } from "@/app/store" export function Layout1() { return (
) } export function Layout2() { return (
) } export function Layout3() { return (
) } export function Layout4() { return (
) } export const layouts = { Layout1, Layout2, Layout3, Layout4 } export type LayoutName = keyof typeof layouts export function getRandomLayoutName(): LayoutName { return pick(Object.keys(layouts) as LayoutName[]) as LayoutName }