From d5a0c35ffc117a79e583c5a05b27cfdae265cac8 Mon Sep 17 00:00:00 2001 From: lytrankieio123 Date: Tue, 24 Aug 2021 11:41:03 +0700 Subject: [PATCH] fix: change btn common children propstype to React.ReactNode --- src/components/common/ButtonCommon/ButtonCommon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/ButtonCommon/ButtonCommon.tsx b/src/components/common/ButtonCommon/ButtonCommon.tsx index 6993347e6..2fd3cf464 100644 --- a/src/components/common/ButtonCommon/ButtonCommon.tsx +++ b/src/components/common/ButtonCommon/ButtonCommon.tsx @@ -4,7 +4,7 @@ import { ButonType, ButtonSize } from 'src/utils/constanst.utils' import s from './ButtonCommon.module.scss' interface Props { - children?: any, + children?: React.ReactNode, type?: ButonType, size?: ButtonSize, icon?: any,