Skip to content

Commit

Permalink
πŸ› fix: ν”Όλ“œλ°± 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Aug 5, 2024
1 parent 792d5df commit 1df1ae3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/components/core/Button/RegisterButton/RegisterButton.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { FC, HtmlHTMLAttributes } from "react";
import { ButtonHTMLAttributes, FC } from "react";

import { PlusIcon } from "@/components/icons";
import { cn } from "@/utils/cn";

export interface Props
extends Omit<HtmlHTMLAttributes<HTMLButtonElement>, "children"> {
extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
icon?: React.ReactElement;
label: string;
}

const SquareTabButton: FC<Props> = ({ label, icon, ...props }) => {
const RegistorButton: FC<Props> = ({ label, icon, ...props }) => {
return (
<button
className={cn(
Expand All @@ -26,4 +26,4 @@ const SquareTabButton: FC<Props> = ({ label, icon, ...props }) => {
);
};

export default SquareTabButton;
export default RegistorButton;
9 changes: 2 additions & 7 deletions src/components/core/Input/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@ const SearchInput: FC<Props> = ({ onClick, ...props }) => {
placeholder={props.placeholder ?? "νŽ˜μŠ€ν‹°λ²Œ λͺ…, ν‚€μ›Œλ“œ 검색"}
{...props}
/>
<button type="button">
<SearchIcon
width={20}
height={20}
className="text-primary-01"
onClick={onClick}
/>
<button type="button" onClick={onClick}>
<SearchIcon width={20} height={20} className="text-primary-01" />
</button>
</div>
);
Expand Down

0 comments on commit 1df1ae3

Please sign in to comment.