Skip to content

Commit

Permalink
adding the icon from the figma
Browse files Browse the repository at this point in the history
Signed-off-by: Narasimha <[email protected]>
  • Loading branch information
narasimha-1511 committed Jul 11, 2024
1 parent 6b22c78 commit 2a8895e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/sections/Projects/Sistent/components/button/code-block.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from "react";
import CopySvg from "../../../../../assets/images/sistent/copy-button";
import { ReactComponent as Logo } from "../../../../../assets/images/sistent/copy-logo.svg";
import styled from "styled-components";

const CopyButtonContainer = styled.div`
Expand Down Expand Up @@ -49,7 +49,7 @@ export const CodeBlock = ({ name, code }) => {
<code lang="javascript">{code}</code>
</pre>
<CopyButtonContainer onClick={handleCopy} >
{!isCopied ? (<CopySvg />) : "Copied!" }
{!isCopied ? (<Logo />) : "Copied!" }
</CopyButtonContainer>
</div>
)}
Expand Down

0 comments on commit 2a8895e

Please sign in to comment.