UNPKG

@vnmfify/core

Version:

```shell npm i @vnmfify/core -S ```

11 lines (10 loc) 340 B
import { createContext } from "react"; import { makeRect } from "../utils/dom/rect"; var IndexListContext = /*#__PURE__*/createContext({ activeIndex: -1, activeArrayedIndex: -1, getListRect: () => makeRect(0, 0), getAnchorRects: () => [] }); export default IndexListContext; //# sourceMappingURL=index-list.context.js.map