Skip to content

Commit bbb34a7

Browse files
committed
refactor(tab-action): 타입 충돌 해결
1 parent fd1d24c commit bbb34a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/Tabs/TabAction/TabAction.types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
import React from 'react'
33

44
/* Internal dependencies */
5-
import { BezierComponentProps, DisableProps, LinkProps } from 'Types/ComponentProps'
5+
import { BezierComponentProps, DisableProps, LinkProps, ChildrenProps } from 'Types/ComponentProps'
66
import type TabsOptions from 'Components/Tabs/Tabs.types'
77

8-
interface TabActionOptions {
9-
children: React.ReactNode | ((args: { disabled: boolean }) => React.ReactNode)
8+
interface TabActionOptions extends ChildrenProps {
109
onClick?: React.MouseEventHandler
1110
}
1211

0 commit comments

Comments
 (0)