Commit 01a7747c authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Update shared components in `NotebookModal`

parent 5eddb853
import { IconButton } from '@hypothesis/frontend-shared'; import { IconButton, CancelIcon } from '@hypothesis/frontend-shared/lib/next';
import { useEffect, useRef, useState } from 'preact/hooks'; import { useEffect, useRef, useState } from 'preact/hooks';
import classnames from 'classnames'; import classnames from 'classnames';
...@@ -126,7 +126,7 @@ export default function NotebookModal({ eventBus, config }) { ...@@ -126,7 +126,7 @@ export default function NotebookModal({ eventBus, config }) {
<div className="relative w-full h-full" data-testid="notebook-inner"> <div className="relative w-full h-full" data-testid="notebook-inner">
<div className="absolute right-0 text-xl m-3"> <div className="absolute right-0 text-xl m-3">
<IconButton <IconButton
icon="cancel" icon={CancelIcon}
title="Close the Notebook" title="Close the Notebook"
onClick={onClose} onClick={onClose}
variant="dark" variant="dark"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment