import { createContext } from 'react'; import noop from 'lodash/noop'; export default createContext<{ inView: Array<string>; setInView: React.Dispatch<React.SetStateAction<Array<string>>>; }>({ inView: [], setInView: noop, });
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
IgniteDataContext.ts | File | 160 B | 0644 |
|
InViewContext.ts | File | 254 B | 0644 |
|
InViewContextProvider.tsx | File | 377 B | 0644 |
|