prism-react-renderer icon indicating copy to clipboard operation
prism-react-renderer copied to clipboard

expose useGetLineProps, useGetTokenProps, useThemeDictionary

Open acharyakavita opened this issue 1 year ago • 1 comments

Description

Exposing the below usehooks for users and update documentation for the same

  1. useGetLineProps,
  2. useGetTokenProps,
  3. useThemeDictionary

Fixes # (issue) : https://github.com/FormidableLabs/prism-react-renderer/issues/246

Type of Change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] This change requires a documentation update

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

  • [x] I have included a changeset if this change will require a version change to one of the packages.
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] I have run all builds, tests, and linting and all checks pass
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [x] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

acharyakavita avatar Sep 04 '24 16:09 acharyakavita

🦋 Changeset detected

Latest commit: 293dc232c89d415b6be4d52657faba64fa1fbb30

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
prism-react-renderer Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Sep 04 '24 16:09 changeset-bot[bot]

Closing due to lack of feedback from requestors

carbonrobot avatar Dec 11 '24 17:12 carbonrobot