UNPKG

react-floating-profile

Version:

React component to display your github profile <p align="left"> <a href="https://www.npmjs.com/package/react-floating-profile"><img src="https://flat.badgen.net/npm/v/react-floating-profile" alt="react-floating-profile version" /></a> <a href="http

11 lines (10 loc) 757 B
"use client"; import { jsx as _jsx } from "react/jsx-runtime"; import "./style.css"; import FloatingProfileContainer from "./floating-profile-container"; import { AuthProvider, ProfileProvider } from "../context"; // 1. 테마 (다크모드, 라이트모드 등등) export default function ReactFloatingProfile(_a) { var userName = _a.userName, _b = _a.pinnedRepoArr, pinnedRepoArr = _b === void 0 ? [] : _b, _c = _a.location, location = _c === void 0 ? "bottom-right" : _c, _d = _a.accessToken, accessToken = _d === void 0 ? "" : _d; return (_jsx(ProfileProvider, { children: _jsx(AuthProvider, { children: _jsx(FloatingProfileContainer, { accessToken: accessToken, userName: userName, pinnedRepoArr: pinnedRepoArr, location: location }) }) })); }