From 69e685b55c03a4711e4b7eb87c2648f5304db85b Mon Sep 17 00:00:00 2001 From: sonnguyenkieio <89386072+sonnguyenkieio@users.noreply.github.com> Date: Tue, 7 Sep 2021 15:44:00 +0700 Subject: [PATCH] :sparkles: feat: Tab Common --- src/components/common/TabCommon/TabCommon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/TabCommon/TabCommon.tsx b/src/components/common/TabCommon/TabCommon.tsx index 60a2649f6..b837004d6 100644 --- a/src/components/common/TabCommon/TabCommon.tsx +++ b/src/components/common/TabCommon/TabCommon.tsx @@ -4,7 +4,7 @@ import s from './TabCommon.module.scss' import TabItem from './TabItem/TabItem' interface TabCommonProps { - tabs: {ref:RefObject, tabName: string, active: boolean, onClick: (tabIndex: number, tabPane: string) => void}[]; + tabs: {ref:RefObject, tabName: string, active: boolean, onClick: (tabIndex: number, tabPane?: string) => void}[]; defaultActiveTab: number; sliderRef : RefObject; slideToTab: (ref: any) => void;