@excentone/spfx-react
Version:
Contains custom ReactJs components and hooks intended to use when developing SharePoint Framework (SPFx) Web components.
9 lines (7 loc) • 429 B
JavaScript
import React, { createContext } from "react";
export const createUserIdentityContext = (initialValues) => createContext(initialValues);
export const createUserIdentityContextProvider = (context) => {
const UserIdentityContextProvider = ({ children, ...value }) => (React.createElement(context.Provider, { value: value }, children));
return UserIdentityContextProvider;
};
//# sourceMappingURL=UserIdentityContext.js.map