From 736bd266279eb60a51132836ed1a13745634d62d Mon Sep 17 00:00:00 2001 From: Lokman Musliu Date: Fri, 8 Jan 2021 16:35:56 +0100 Subject: [PATCH] Added aria label for close button --- package-lock.json | 2 +- package.json | 2 +- src/components/Button.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 79696be..35ab4db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "react-headless-cookie", + "name": "@lucky-media/react-headless-cookie", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index dd4481a..f8c8f88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lucky-media/react-headless-cookie", - "version": "1.0.0", + "version": "1.0.1", "description": "This is a headless react cookie package, it comes unopinionated and without styling", "author": "lucky-media", "license": "MIT", diff --git a/src/components/Button.js b/src/components/Button.js index 3d0ee63..0673e57 100644 --- a/src/components/Button.js +++ b/src/components/Button.js @@ -20,7 +20,7 @@ const Button = ({ children, className, style, as, ...props }) => { } return ( - + {children} )