UNPKG

iwelp

Version:
21 lines (20 loc) 634 B
/** * useWelp hook to consume the welp context * @returns {object} - the welp context */ export function useWelp(): object; export default WelpProvider; /** * WelpProvider component to provide the welp context to the application * @param {string} scopeId - the scope id * @param {React.ReactElement} children - the children components * @returns {React.ReactElement} - WelpProvider component */ declare function WelpProvider({ scopeId, children }: string): React.ReactElement; declare namespace WelpProvider { namespace propTypes { let scopeId: any; let children: any; } let displayName: string; }