feat(boards): add responsive layout system (#2271)
This commit is contained in:
1 parent
2085b5ece2
commit
7761dc29c8
98 files changed
+11770
-1694
No files matched your search
@@ -1,11 +1,12 @@
|
||||
import { createContext, useContext } from "react";
|
||||
|
||||
import type { Section } from "~/app/[locale]/boards/_types";
|
||||
import type { DynamicSectionItem, Section, SectionItem } from "~/app/[locale]/boards/_types";
|
||||
import type { UseGridstackRefs } from "./gridstack/use-gridstack";
|
||||
|
||||
interface SectionContextProps {
|
||||
section: Section;
|
||||
innerSections: Exclude<Section, { kind: "category" } | { kind: "empty" }>[];
|
||||
section: Exclude<Section, { kind: "dynamic" }> | DynamicSectionItem;
|
||||
innerSections: DynamicSectionItem[];
|
||||
items: SectionItem[];
|
||||
refs: UseGridstackRefs;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user