Commit 87e819a4 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Update shared components in `TagListItem`

parent 3b0663a4
import { Icon, Link } from '@hypothesis/frontend-shared';
import { Link, CancelIcon } from '@hypothesis/frontend-shared/lib/next';
import classnames from 'classnames';
/**
......@@ -20,7 +20,7 @@ export default function TagListItem({ href, onRemoveTag, tag }) {
<div className="grow px-1.5 py-1 touch:p-2">
{href ? (
<Link
classes="text-color-text-light hover:text-brand"
color="text-light"
href={href}
lang=""
target="_blank"
......@@ -58,7 +58,7 @@ export default function TagListItem({ href, onRemoveTag, tag }) {
}}
title={`Remove tag: ${tag}`}
>
<Icon classes="font-base" name="cancel" title={`Remove ${tag}`} />
<CancelIcon className="font-base w-em h-em" title={`Remove ${tag}`} />
</button>
)}
</li>
......
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