-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor PDF banners to use
PreactContainer
Refactor the banner container (`<hypothesis-banner>`) in the PDF viewer to work more like other `<hypothesis->` UI elements with a controller class that uses `PreactContainer` to create the element and render its contents. This leaves just the `<hypothesis-sidebar>` as an exception which works differently.
- Loading branch information
1 parent
2376bfb
commit 60bc609
Showing
1 changed file
with
96 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters