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(react): add useLayer hook #11654

Merged
merged 2 commits into from
Jun 21, 2022

Conversation

joshblack
Copy link
Contributor

Closes #11651

Add a useLayer hook to allow users to read the current layer level

Changelog

New

  • Add a useLayer hook

Changed

  • Update docs with useLayer section

Removed

Testing / Reviewing

  • Read the docs to see if they make sense usage-wise
  • Verify useLayer is tested appropriately

@joshblack joshblack requested review from a team as code owners June 21, 2022 18:19
@netlify
Copy link

netlify bot commented Jun 21, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 702dbf4
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/62b2467b2ffdaa00089f6623
😎 Deploy Preview https://deploy-preview-11654--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Jun 21, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 702dbf4
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/62b2467b5b3bc2000813bb2d
😎 Deploy Preview https://deploy-preview-11654--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@kodiakhq kodiakhq bot merged commit 8a9c11e into carbon-design-system:main Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Export React LayerContext
3 participants