diff --git a/package-lock.json b/package-lock.json index cf368f3..2e838c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,13 +1,13 @@ { "name": "bluelib", - "version": "1.0.0", + "version": "1.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bluelib", - "version": "1.0.0", - "license": "MIT", + "version": "1.1.1", + "license": "AGPL-3.0-or-later", "dependencies": { "@babel/preset-env": "^7.12.11", "@babel/preset-react": "^7.12.10", diff --git a/package.json b/package.json index bb09703..78c69a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bluelib", - "version": "1.1.1", + "version": "2.0.0", "description": "React components for Bluelib", "readme": "README.md", "main": "lib/index.js", diff --git a/src/components/Align/index.js b/src/components/Align/index.js index ac36916..8736fac 100644 --- a/src/components/Align/index.js +++ b/src/components/Align/index.js @@ -3,9 +3,9 @@ import PropTypes from "prop-types"; import useBluelibClassNames from "../../hooks/useBluelibClassNames"; -export default function Align({children, className, value}) { +export default function Align({children, className, value, ...props}) { return ( -
+
{children}
) diff --git a/src/components/Anchor/index.js b/src/components/Anchor/index.js index b20e13a..d76ccbc 100644 --- a/src/components/Anchor/index.js +++ b/src/components/Anchor/index.js @@ -3,9 +3,9 @@ import useBluelibClassNames from "../../hooks/useBluelibClassNames"; import PropTypes from "prop-types"; -export default function Anchor({children, className, href}) { +export default function Anchor({children, className, href, ...props}) { return ( - + {children} ) diff --git a/src/components/Aside/index.js b/src/components/Aside/index.js index 9cba23e..3bc2854 100644 --- a/src/components/Aside/index.js +++ b/src/components/Aside/index.js @@ -3,9 +3,9 @@ import useBluelibClassNames from "../../hooks/useBluelibClassNames"; import PropTypes from "prop-types"; -export default function Aside({children, className}) { +export default function Aside({children, className, ...props}) { return ( -