@bbl-digital/snorre 2.2.139 → 2.2.140

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,8 +4,11 @@ import { GButton } from './styles';
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { jsxs as _jsxs } from "react/jsx-runtime";
6
6
 
7
- const GoogleButton = () => {
7
+ const GoogleButton = ({
8
+ onClick
9
+ }) => {
8
10
  return /*#__PURE__*/_jsxs(GButton, {
11
+ onClick: onClick,
9
12
  children: [/*#__PURE__*/_jsx(IconGmail, {}), "Logg p\xE5 med Google"]
10
13
  });
11
14
  };
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
- declare const GoogleButton: React.FC;
2
+ interface IProps {
3
+ onClick: () => void;
4
+ }
5
+ declare const GoogleButton: React.FC<IProps>;
3
6
  export default GoogleButton;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/GoogleButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAOzB,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/GoogleButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,UAAU,MAAM;IACd,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAOlC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -4,8 +4,11 @@ import { GButton } from './styles';
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { jsxs as _jsxs } from "react/jsx-runtime";
6
6
 
7
- const GoogleButton = () => {
7
+ const GoogleButton = ({
8
+ onClick
9
+ }) => {
8
10
  return /*#__PURE__*/_jsxs(GButton, {
11
+ onClick: onClick,
9
12
  children: [/*#__PURE__*/_jsx(IconGmail, {}), "Logg p\xE5 med Google"]
10
13
  });
11
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "2.2.139",
3
+ "version": "2.2.140",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",