feat: label

:%s
This commit is contained in:
unknown
2021-08-24 11:16:48 +07:00
parent 6fea2ecc35
commit aef26bb167
3 changed files with 12 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ import s from "./CaroucelCommon.module.scss"
interface CarouselCommonProps {
children?: React.ReactNode
data?: any[]
Component: React.ComponentType
Component: React.ComponentType<any>
isArrow?:Boolean
itemKey:String
}