Files
Shop-Storefront/src/modules/layout/templates/vt-text/index.tsx
T
2025-12-03 22:10:07 +07:00

19 lines
386 B
TypeScript

import { LayoutComponentDefinition } from "@vibentec/component-map"
import { LayoutContext } from "@vibentec/component-map"
export default function VtText({
nodes,
context,
}: {
nodes: LayoutComponentDefinition
context: LayoutContext
}) {
const props = nodes.config || {}
return (
<span className={props?.className ?? ""}>
{props?.label ?? ""}
</span>
)
}