@spteck/react-controls-v2 2.0.0 → 2.0.1
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/README.md +11 -0
- package/dist/ILoggingProvider-C4FFlnQ0.js.map +1 -1
- package/dist/components/StackedUsers/StackedUsers.d.ts.map +1 -1
- package/dist/components/userCard/IUserCardProps.d.ts +1 -1
- package/dist/components/userCard/IUserCardProps.d.ts.map +1 -1
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/dist/providers.js +1 -1
- package/dist/providers.js.map +1 -1
- package/package.json +3 -1
package/dist/index.mjs
CHANGED
|
@@ -26302,6 +26302,10 @@ const StackedUsers = ({
|
|
|
26302
26302
|
if (!users || users.length === 0) {
|
|
26303
26303
|
return null;
|
|
26304
26304
|
}
|
|
26305
|
+
if (!context) {
|
|
26306
|
+
console.warn("StackedUsers: context is required to display user cards");
|
|
26307
|
+
return null;
|
|
26308
|
+
}
|
|
26305
26309
|
return /* @__PURE__ */ jsxs$1(
|
|
26306
26310
|
StackV2,
|
|
26307
26311
|
{
|