@apptimate/ui 2.4.0 → 2.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptimate/ui",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "main": "src/index.tsx",
5
5
  "types": "src/index.tsx",
6
6
  "dependencies": {
@@ -131,7 +131,7 @@ export function DashboardLayout({
131
131
  }`}
132
132
  >
133
133
  {/* Clone the icon to dynamically apply styling based on active state */}
134
- {React.cloneElement(menu.icon as React.ReactElement, {
134
+ {React.cloneElement(menu.icon as React.ReactElement<any>, {
135
135
  size: 22,
136
136
  className: isActive ? "stroke-[2.5]" : "stroke-[2]"
137
137
  })}
@@ -305,7 +305,7 @@ export function DashboardLayout({
305
305
  {menus.map((menu) => (
306
306
  <div key={menu.id}>
307
307
  <div className="flex items-center gap-3 text-[#2D3142] font-bold mb-3 px-2">
308
- {React.cloneElement(menu.icon as React.ReactElement, {
308
+ {React.cloneElement(menu.icon as React.ReactElement<any>, {
309
309
  size: 20,
310
310
  className: "stroke-[2.5]"
311
311
  })}