Commit 0d047312 authored by Robert Knight's avatar Robert Knight

Use minus icon on button to indicate clicking it will remove filter

Now that the icon has been added to @hypothesis/frontend-shared, use it
in the filter controls.
parent c3cccebe
import { import {
Button, Button,
FileGenericIcon, FileGenericIcon,
MinusIcon,
PlusIcon, PlusIcon,
ProfileIcon, ProfileIcon,
} from '@hypothesis/frontend-shared'; } from '@hypothesis/frontend-shared';
...@@ -73,8 +74,7 @@ function FilterToggle({ ...@@ -73,8 +74,7 @@ function FilterToggle({
})} })}
/> />
{active ? ( {active ? (
// This should be a "-" icon, but we don't have one in our icon set yet. <MinusIcon className="w-em h-em" />
<PlusIcon className="w-em h-em" />
) : ( ) : (
<PlusIcon className="w-em h-em" /> <PlusIcon className="w-em h-em" />
)} )}
......
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