@bigbinary/neeto-molecules 1.0.22 → 1.0.23

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-molecules",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
package/types/Header.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { DropdownProps } from "neetoui";
2
3
  /**
3
4
  *
4
5
  * The Header component can be used to display the page title and an action block
@@ -23,6 +24,7 @@ const Header: React.FC<{
23
24
  text: string;
24
25
  link: string;
25
26
  }[];
27
+ dropdownProps?: DropdownProps;
26
28
  menuBarToggle?: (...args: any[]) => any;
27
29
  }>;
28
30
  export default Header;
@@ -16,7 +16,7 @@ type SelectedDeviceState = "desktop" | "tablet" | "mobile";
16
16
  * return (
17
17
  * <ResponsiveDevicePicker
18
18
  * selectedDevice={selectedDevice}
19
- * setSelectedDevice={setSelectedDevice}
19
+ * onDeviceChange={setSelectedDevice}
20
20
  * />
21
21
  * );
22
22
  * };