UNPKG

react-pdf

Version:

Display PDFs in your React app as easily as if they were images.

10 lines (6 loc) 253 B
import { useContext } from 'react'; import OutlineContext from '../../OutlineContext.js'; import type { OutlineContextType } from '../types.js'; export default function useOutlineContext(): OutlineContextType { return useContext(OutlineContext); }