@meetalva/alva-design
Advanced tools
Comparing version 1.6.2 to 1.6.3
import * as React from "react"; | ||
export interface MenuItemProps { | ||
/** @name Copy */ linkName?: string; | ||
/** @name Link */ onClick?: React.MouseEventHandler<HTMLDivElement>; | ||
/** @name Link */ onClick?: React.MouseEventHandler<HTMLAnchorElement>; | ||
href?: string; | ||
@@ -6,0 +6,0 @@ target?: string; |
@@ -14,3 +14,3 @@ "use strict"; | ||
exports.MenuItem = function (props) { | ||
return (React.createElement("a", { href: props.href, target: props.target, rel: props.rel, title: props.title, style: { textDecoration: "none", marginLeft: 32, color: colors_1.Color.White } }, | ||
return (React.createElement("a", { href: props.href, target: props.target, rel: props.rel, title: props.title, style: { textDecoration: "none", marginLeft: 32, color: colors_1.Color.White }, onClick: props.onClick }, | ||
React.createElement(StyledMenuItem, null, props.linkName))); | ||
@@ -17,0 +17,0 @@ }; |
{ | ||
"name": "@meetalva/alva-design", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"description": "Every component used for the official Alva website", | ||
@@ -5,0 +5,0 @@ "alva": { |
Sorry, the diff of this file is not supported yet
453471