🐛 fixed button and input
This commit is contained in:
parent
be4ef59e5d
commit
cb3fceeb44
@ -629,6 +629,7 @@
|
||||
padding: var(--spacing-0-5) var(--spacing-1-5);
|
||||
gap: var(--spacing-0-75);
|
||||
font-size: 14px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
&[sizing="md"] {
|
||||
|
@ -1,12 +1,10 @@
|
||||
import React from "react";
|
||||
import Typography, { ETypo, ETypoColor } from "@Front/Components/DesignSystem/Typography";
|
||||
import { ReactNode } from "react";
|
||||
import CopyIcon from "@Assets/Icons/copy.svg";
|
||||
import BaseField, { IProps as IBaseFieldProps } from "../BaseField";
|
||||
import classes from "./classes.module.scss";
|
||||
import classnames from "classnames";
|
||||
import Image from "next/image";
|
||||
import { XMarkIcon } from "@heroicons/react/24/outline";
|
||||
import { XMarkIcon, Square2StackIcon } from "@heroicons/react/24/outline";
|
||||
export type IProps = IBaseFieldProps & {
|
||||
canCopy?: boolean;
|
||||
password?: boolean;
|
||||
@ -42,7 +40,7 @@ export default class TextField extends BaseField<IProps> {
|
||||
/>
|
||||
{this.props.canCopy && !this.hasError() && (
|
||||
<div className={classes["copy-icon"]} onClick={this.onCopyClick}>
|
||||
<Image src={CopyIcon} alt="Copy icon" />
|
||||
<Square2StackIcon height="24px" width="24px" color={"var(--color-neutral-700)"} />
|
||||
</div>
|
||||
)}
|
||||
{this.hasError() && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user