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

feat: Add 'scope' option for providing custom scope variables #201

Merged
merged 2 commits into from Oct 12, 2020

Conversation

markdalgleish
Copy link
Member

No description provided.

@markdalgleish markdalgleish requested a review from a team as a code owner October 12, 2020 00:28
@markdalgleish markdalgleish merged commit dd64d93 into master Oct 12, 2020
@markdalgleish markdalgleish deleted the scope branch October 12, 2020 00:51

export default function useScope() {
return {
theme: useTheme(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@markdalgleish this is great!

How does this get used? like is it a magical object that is accessible in the code pane? Ie can we scope.XYZ and use that? Or what is a usecase for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants