buoy-burger
Advanced tools
Comparing version 4.0.3 to 4.1.0
@@ -32,6 +32,7 @@ "use strict"; | ||
var color = _ref.color, | ||
onClick = _ref.onClick; | ||
onClick = _ref.onClick, | ||
ariaLabel = _ref.ariaLabel; | ||
return _react2.default.createElement( | ||
Container, | ||
{ onClick: onClick }, | ||
{ "aria-label": ariaLabel, onClick: onClick }, | ||
_react2.default.createElement( | ||
@@ -38,0 +39,0 @@ "svg", |
{ | ||
"name": "buoy-burger", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"description": "Buoy burger svg component", | ||
@@ -14,3 +14,4 @@ "main": "dist/index.js", | ||
"styled-components": ">=3.2.6" | ||
} | ||
}, | ||
"gitHead": "5a8db9e1f6941f23267a7b7ca9a8fcb1b4400708" | ||
} |
@@ -17,5 +17,5 @@ import React from "react" | ||
const Burger = ({color, onClick}) => ( | ||
<Container onClick={onClick}> | ||
<svg | ||
const Burger = ({color, onClick, ariaLabel}) => ( | ||
<Container aria-label={ariaLabel} onClick={onClick}> | ||
<svg | ||
width="22px" | ||
@@ -32,3 +32,3 @@ height="17px" | ||
strokeLinecap="round"> | ||
<g | ||
<g | ||
transform="translate(-283.000000, -14.000000)" | ||
@@ -35,0 +35,0 @@ stroke={color} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4168
116
1