Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an .env input for new components #91

Open
raulcanodev opened this issue Jan 31, 2025 · 0 comments
Open

Add an .env input for new components #91

raulcanodev opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@raulcanodev
Copy link

raulcanodev commented Jan 31, 2025

There are components like this one I created that require a token. It would be great to add the token privately.

Great job!

import ContributionGraph from '@raulcanodev/react-github-dots'

export default function Example() {
  return (
    <ContributionGraph 
      username="githubusername"
      token=process.env.NEXT_PUBLIC_GITHUB_PERSONAL_ACCESS_TOKEN
    />
  )
}
@serafimcloud serafimcloud added the enhancement New feature or request label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants