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

Docs typo: README.md const rainbowSprinkles code snippet missing something #148

Closed
JoshuaKGoldberg opened this issue Jun 20, 2023 · 2 comments

Comments

@JoshuaKGoldberg
Copy link

Description

From the README.md:

export const rainbowSprinkles(responsiveProperties)

I tried changing to export const rainbowSprinkles = createRainbowSprinkles(responsiveProperties) but got a TypeScript type error.

What was that supposed to be? 🙂

@yyyyaaa
Copy link

yyyyaaa commented Dec 5, 2023

@JoshuaKGoldberg probably just missing a variable on the left hand side and wrong function name, this should work:

export const rainbowSprinkles = createRainbowSprinkles(
  responsiveProperties,
  interactiveProperties
);

@JoshuaKGoldberg
Copy link
Author

Ah, fixed by #150. Thanks!

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

No branches or pull requests

2 participants