mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-04-22 07:58:01 +03:00
15 lines
354 B
TypeScript
15 lines
354 B
TypeScript
import { CollectionItem } from "@/models/CollectionModels";
|
|
import { createContext } from "react";
|
|
|
|
const CollectionContext = createContext<CollectionContextType>(null!);
|
|
|
|
export default CollectionContext;
|
|
|
|
export type CollectionContextType =
|
|
{
|
|
collection: CollectionItem;
|
|
collectionIndex: number;
|
|
tabCount: number;
|
|
hasPinnedGroup: boolean;
|
|
};
|