@payfit/unity-components
Version:
19 lines (18 loc) • 463 B
JavaScript
import { createContext as e, useContext as t } from "react";
import { jsx as n } from "react/jsx-runtime";
//#region src/components/avatar-group/AvatarGroup.context.tsx
var r = e(null);
function i({ defaultSize: e, variant: t, children: i }) {
return /* @__PURE__ */ n(r.Provider, {
value: {
defaultSize: e,
variant: t
},
children: i
});
}
function a() {
return t(r);
}
//#endregion
export { i as AvatarGroupProvider, a as useAvatarGroupContext };