allenai / pdf-component-library

51 stars 5 forks source link

31033 Add outline to DocumentContext #105

Closed carolinepaulic closed 2 years ago

carolinepaulic commented 2 years ago

Add outline to DocumentContext to facilitate #31033. This allows us to listen for when the outline gets set on the S2 side.

carolinepaulic commented 2 years ago

Created subtask in loose ends ticket to determine if setting outline in DocumentWrapper.tsx instead of Outline.tsx would grant us any performance gains.