@octopusdeploy/design-system-components
Version:
The design systems component library.
11 lines (10 loc) • 495 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListItemLink = ListItemLink;
const jsx_runtime_1 = require("react/jsx-runtime");
const routing_1 = require("../../routing");
const ListItem_1 = require("./ListItem");
function ListItemLink({ children, href }) {
const Link = (0, routing_1.useOctopusLinkComponent)();
return ((0, jsx_runtime_1.jsx)(ListItem_1.ListItem, { children: (0, jsx_runtime_1.jsx)(Link, { href: href, children: children }) }));
}