Commit 78b5d3ca authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Use `Icon` in `AnnotationShareControl`

parent 86a3578f
import { import {
Icon,
IconButton, IconButton,
SvgIcon,
TextInput, TextInput,
TextInputWithButton, TextInputWithButton,
useElementShouldClose, useElementShouldClose,
...@@ -168,11 +168,7 @@ function AnnotationShareControl({ ...@@ -168,11 +168,7 @@ function AnnotationShareControl({
)} )}
{showShareLinks && <ShareLinks shareURI={shareUri} />} {showShareLinks && <ShareLinks shareURI={shareUri} />}
</div> </div>
<SvgIcon <Icon name="pointer" classes="annotation-share-panel__arrow" />
name="pointer"
inline={true}
className="annotation-share-panel__arrow"
/>
</div> </div>
)} )}
</div> </div>
......
...@@ -47,9 +47,10 @@ ...@@ -47,9 +47,10 @@
// Position the pointer icon absolutely and flip it to make it point at the // Position the pointer icon absolutely and flip it to make it point at the
// share icon // share icon
&__arrow { &__arrow {
display: inline;
@include molecules.menu-arrow($direction: 'down'); @include molecules.menu-arrow($direction: 'down');
right: 0px; right: 0px;
bottom: -8px; bottom: -12px;
} }
.ShareLinks__icon { .ShareLinks__icon {
......
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