UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

7 lines (6 loc) 414 B
import { jsx as _jsx } from "react/jsx-runtime"; import { useStyleContext } from '../lib/react/StyleContextProvider.js'; export function UCEntrypointTouchable({ path, wording }) { const { entrypointTouchable } = useStyleContext(); return (_jsx("a", { className: entrypointTouchable?.className, href: path, style: entrypointTouchable?.style, title: wording.desc ?? undefined, children: wording.label })); }