Skip to content

Commit

Permalink
feat: updated 'Refresh' icon (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
askayastha22 authored Nov 28, 2023
1 parent 2b4441a commit f0c616c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-src/src/components/PromptResultCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import {
ActionButton, Tooltip, TooltipTrigger,
} from '@adobe/react-spectrum';
import Refresh from '@spectrum-icons/workflow/Refresh';
import React, { useCallback, useState } from 'react';
import { css } from '@emotion/css';
import { ToastQueue } from '@react-spectrum/toast';
Expand All @@ -27,6 +26,7 @@ import { useSaveResults } from '../state/SaveResultsHook.js';
import { sampleRUM } from '../rum.js';
import { toClipboard, toHTML } from '../helpers/PromptExporter.js';

import RefreshIcon from '../icons/RefreshIcon.js';
import FavoritesIcon from '../icons/FavoritesIcon.js';
import FavoritesOutlineIcon from '../icons/FavoritesOutlineIcon.js';
import CopyOutlineIcon from '../icons/CopyOutlineIcon.js';
Expand Down Expand Up @@ -167,7 +167,7 @@ export function PromptResultCard({ result, ...props }) {
isQuiet
UNSAFE_className="hover-cursor-pointer"
onPress={reusePrompt}>
<Refresh />
<RefreshIcon />
</ActionButton>
<Tooltip>Re-use</Tooltip>
</TooltipTrigger>
Expand Down
26 changes: 26 additions & 0 deletions web-src/src/icons/RefreshIcon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f0c616c

Please sign in to comment.