[TItemCard] props className추가

This commit is contained in:
jiwon93.son
2024-03-29 17:14:06 +09:00
parent 33f65555de
commit f3d64eebf7

View File

@@ -35,6 +35,7 @@ export const removeDotAndColon = (string) => {
export default memo(function TItemCard({ export default memo(function TItemCard({
children, children,
className,
disabled, disabled,
imageAlt, imageAlt,
imageSource, imageSource,
@@ -92,7 +93,8 @@ export default memo(function TItemCard({
className={classNames( className={classNames(
css[type], css[type],
nonPosition && css.nonPosition, nonPosition && css.nonPosition,
type === "videoShow" && css[imgType] type === "videoShow" && css[imgType],
className && className
)} )}
onBlur={_onBlur} onBlur={_onBlur}
onClick={_onClick} onClick={_onClick}