@mindly/ui-components 5.3.0 → 5.4.0

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.
@@ -2,7 +2,8 @@ import React from 'react';
2
2
  type IconButtonProps = {
3
3
  icon: JSX.Element;
4
4
  className?: string;
5
- onClick?: () => void;
5
+ routerLink?: string;
6
+ onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
6
7
  };
7
8
  declare const _default: React.NamedExoticComponent<IconButtonProps>;
8
9
  export default _default;
package/dist/index.d.ts CHANGED
@@ -1589,7 +1589,8 @@ declare const _default$2: React__default.NamedExoticComponent<RatingProps>;
1589
1589
  type IconButtonProps = {
1590
1590
  icon: JSX.Element;
1591
1591
  className?: string;
1592
- onClick?: () => void;
1592
+ routerLink?: string;
1593
+ onClick?: (e: React__default.MouseEvent<HTMLIonButtonElement>) => void;
1593
1594
  };
1594
1595
  declare const _default$1: React__default.NamedExoticComponent<IconButtonProps>;
1595
1596
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",