change(icon-button): Add Refresh icon

~ IconButton now accepts "Refresh", which will produce
  Heroicons' Refresh icon.
This commit is contained in:
tecc 2022-08-12 06:12:04 +02:00
parent 81426aec60
commit 095e6e0cb9
No known key found for this signature in database
GPG Key ID: 400AAD881FCC028B

View File

@ -18,7 +18,8 @@ import {
ExternalLinkIcon,
BookmarkAltIcon,
PuzzleIcon,
ChevronDoubleUpIcon
ChevronDoubleUpIcon,
RefreshIcon
} from '@heroicons/react/outline';
export const ICONS = {
@ -40,6 +41,7 @@ export const ICONS = {
BookmarkAlt: BookmarkAltIcon,
Puzzle: PuzzleIcon,
ChevronDoubleUp: ChevronDoubleUpIcon,
Refresh: RefreshIcon
};
const IconButton = forwardRef<HTMLSpanElement,