@aleodoni-common/tailwind-components
Advanced tools
Comparing version 1.0.216 to 1.0.217
@@ -459,8 +459,16 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
}, userNavigation.map(function (item) { | ||
return React__default.createElement(react.Disclosure.Button, { | ||
as: "div", | ||
return React__default.createElement(react.Disclosure, { | ||
as: "button", | ||
key: item.name, | ||
onClick: item.action, | ||
className: "flex w-full px-3 py-2 rounded-md text-base font-medium text-gray-200 hover:text-white hover:bg-aleodoni-secondary" | ||
}, item.name); | ||
}, function (_ref4) { | ||
var close = _ref4.close; | ||
return React__default.createElement("button", { | ||
type: "button", | ||
onClick: function onClick() { | ||
close(); | ||
} | ||
}, item.name); | ||
}); | ||
}))))); | ||
@@ -467,0 +475,0 @@ })); |
@@ -457,8 +457,16 @@ import React, { useState, Fragment } from 'react'; | ||
}, userNavigation.map(function (item) { | ||
return React.createElement(Disclosure.Button, { | ||
as: "div", | ||
return React.createElement(Disclosure, { | ||
as: "button", | ||
key: item.name, | ||
onClick: item.action, | ||
className: "flex w-full px-3 py-2 rounded-md text-base font-medium text-gray-200 hover:text-white hover:bg-aleodoni-secondary" | ||
}, item.name); | ||
}, function (_ref4) { | ||
var close = _ref4.close; | ||
return React.createElement("button", { | ||
type: "button", | ||
onClick: function onClick() { | ||
close(); | ||
} | ||
}, item.name); | ||
}); | ||
}))))); | ||
@@ -465,0 +473,0 @@ })); |
{ | ||
"name": "@aleodoni-common/tailwind-components", | ||
"version": "1.0.216", | ||
"version": "1.0.217", | ||
"main": "./build/index.js", | ||
@@ -5,0 +5,0 @@ "module": "build/index.modern.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177420
2340