diff --git a/packages/user/src/components/common/OutlinedButton.tsx b/packages/user/src/components/common/OutlinedButton.tsx index 9e8eb204..0bccda68 100644 --- a/packages/user/src/components/common/OutlinedButton.tsx +++ b/packages/user/src/components/common/OutlinedButton.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/button-has-type */ import { cn } from '@softeer/common/utils'; import clsx from 'clsx'; import { ButtonHTMLAttributes, forwardRef } from 'react'; @@ -11,13 +10,17 @@ const styles = clsx( 'active:border-primary active:text-primary', ); -export type ButtonProps = ButtonHTMLAttributes; +export interface ButtonProps extends ButtonHTMLAttributes { + as?: 'button' | 'div' | 'span'; +} /** 기대평 등록, 랜딩 페이지 링크 공유 버튼 */ const OutlinedButton = forwardRef( - ({ className, ...props }, ref) => ( -