Files
shoptime/com.twin.app.shoptime/src/components/TGrid/TGrid.jsx
junghoon86.park 7c44840abe [mainPanel] subCategory 적용 및 디자인 변경
- Homepanel 쪽으로 파일 위치변경
- subCategory TGrid,TItemCard적용.
- mainSlice 부분 정보 수정
2024-01-29 20:25:23 +09:00

22 lines
521 B
JavaScript

import React from "react";
import classNames from "classnames";
import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator";
import css from "./TGrid.module.less";
const GridContainer = SpotlightContainerDecorator(
{
leaveFor: { left: "", right: "" },
enterTo: "last-focused",
},
"ul"
);
export default function TGrid({ children, type }) {
return (
<GridContainer className={classNames(css.gridContainer, type && css[type])}>
{children}
</GridContainer>
);
}