From 4b8440d14ae4a8f9c68bdb019a71a332f08a3c1e Mon Sep 17 00:00:00 2001 From: semnil5202 Date: Fri, 27 Dec 2024 14:59:45 +0900 Subject: [PATCH] fix: pass html attirbutes type --- package.json | 2 +- src/components/Navigation/NavigationItem.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 210219b..4d8d25e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "concept-be-design-system", "description": "컨셉비 디자인 시스템", - "version": "0.5.12", + "version": "0.5.13", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/src/components/Navigation/NavigationItem.tsx b/src/components/Navigation/NavigationItem.tsx index b17a2d6..f600175 100644 --- a/src/components/Navigation/NavigationItem.tsx +++ b/src/components/Navigation/NavigationItem.tsx @@ -1,10 +1,10 @@ import { css } from '@emotion/react'; import styled from '@emotion/styled'; -import { ReactNode } from 'react'; +import { HtmlHTMLAttributes, ReactNode } from 'react'; type PositionType = 'normal' | 'center'; -export interface Props { +export interface Props extends HtmlHTMLAttributes { onClick?: () => void; position?: PositionType; children: ReactNode;