File tree Expand file tree Collapse file tree 5 files changed +7
-13
lines changed
contract-ui/components/solidity-inputs Expand file tree Collapse file tree 5 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 1- import { Icon } from "@chakra-ui/react" ;
21import { JavaScriptIcon } from "components/icons/brand-icons/JavaScriptIcon" ;
32import { ReactIcon } from "components/icons/brand-icons/ReactIcon" ;
43import { UnityIcon } from "components/icons/brand-icons/UnityIcon" ;
@@ -48,7 +47,7 @@ const ConnectPlaygroundButton = ({
4847
4948 return (
5049 < Button
51- leftIcon = { < Icon as = { logo . icon } fill = { logo . fill } /> }
50+ leftIcon = { < logo . icon className = "size-4" fill = { logo . fill } /> }
5251 border = "1px solid transparent"
5352 variant = "solid"
5453 fontWeight = "normal"
Original file line number Diff line number Diff line change 1- import { Icon } from "@chakra-ui/react" ;
21import type { UseMutationResult } from "@tanstack/react-query" ;
32import { FileInput } from "components/shared/FileInput" ;
43import { useErrorHandler } from "contexts/error-handler" ;
5- import { FiUpload } from "react-icons/fi " ;
4+ import { UploadIcon } from "lucide-react " ;
65import { Button , type ButtonProps } from "tw-components" ;
76import type { ComponentWithChildren } from "types/component-with-children" ;
87
@@ -32,7 +31,7 @@ export const IpfsUploadButton: ComponentWithChildren<IpfsUploadButtonProps> = ({
3231 size = "sm"
3332 variant = "solid"
3433 aria-label = "Upload to IPFS"
35- rightIcon = { < Icon as = { FiUpload } /> }
34+ rightIcon = { < UploadIcon className = "size-4" /> }
3635 isLoading = { storageUpload . isPending }
3736 { ...buttonProps }
3837 >
Original file line number Diff line number Diff line change 1- import { Icon } from "@chakra-ui/react" ;
21import { JavaScriptIcon } from "components/icons/brand-icons/JavaScriptIcon" ;
32import { ReactIcon } from "components/icons/brand-icons/ReactIcon" ;
43import { UnityIcon } from "components/icons/brand-icons/UnityIcon" ;
@@ -48,7 +47,7 @@ export const CodeOptionButton: React.FC<CodeOptionButtonProps> = ({
4847
4948 return (
5049 < Button
51- leftIcon = { < Icon as = { logo . icon } fill = { logo . fill } /> }
50+ leftIcon = { < logo . icon className = "size-4" fill = { logo . fill } /> }
5251 border = "1px solid transparent"
5352 variant = "solid"
5453 fontWeight = "normal"
Original file line number Diff line number Diff line change 1- import { Icon } from "@chakra-ui/react" ;
21import { useTrack } from "hooks/analytics/useTrack" ;
3- import { BsFillLightningChargeFill } from "react-icons/bs " ;
2+ import { ZapIcon } from "lucide-react " ;
43import {
54 type ButtonProps ,
65 LinkButton ,
@@ -24,9 +23,7 @@ export const ProductButton: React.FC<GeneralCtaProps> = ({
2423
2524 return (
2625 < LinkButton
27- leftIcon = {
28- < Icon as = { BsFillLightningChargeFill } color = { iconColor } boxSize = { 4 } />
29- }
26+ leftIcon = { < ZapIcon className = "size-4 fill-black" /> }
3027 w = "full"
3128 py = "24px"
3229 onClick = { ( ) =>
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const SolidityStringInput: React.FC<SolidityInputWithTypeProps> = ({
4040 onChange = { handleChange }
4141 />
4242 { showButton && (
43- < InputRightElement mx = { 1 } width = { { base : "75px" , md : "145px " } } >
43+ < InputRightElement mx = { 1 } width = { { base : "75px" , md : "160px " } } >
4444 < IpfsUploadButton
4545 onUpload = { ( uri ) => {
4646 if ( functionName ) {
You can’t perform that action at this time.
0 commit comments