feat: add a new highlighter component
Added a new Highlighter component which highlights the text as it were highlighted by a human . Additional features include:
- Colour of highlighting : We can provide the colour of highlighting as a prop.
- Action of highlighter: We can provide the action of highlighter as a prop , which can be a circle or highlighter.
Preview shown in the image :
@Pratiyankkumar is attempting to deploy a commit to the product-studio Team on Vercel.
A member of the Team first needs to authorize it.
@dillionverma Please take a look at this.
@dillionverma Appreciate you taking a look! 👀 Let me know if it's good to merge.
Great component idea, I could see it being useful for a lot of cases.
However, I think the PR in it's current state feels incomplete.
Some points to improve:
- Expose access to all underlying props https://github.com/rough-stuff/rough-notation. Looks like there are more annotation types but this PR limits it to only 2. There are also several other useful props which are hidden.
- Give more demo examples
ok will do that, thanks for pointing out
Great component idea, I could see it being useful for a lot of cases.
However, I think the PR in it's current state feels incomplete.
Some points to improve:
- Expose access to all underlying props https://github.com/rough-stuff/rough-notation. Looks like there are more annotation types but this PR limits it to only 2. There are also several other useful props which are hidden.
- Give more demo examples
@dillionverma Added more annotations ✅ Added other useful props to give full access of the component to the user ✅ Given more demo examples ✅ here are the changes :
https://github.com/user-attachments/assets/fd3c8cf5-f146-4793-a236-e77d3bd05529
@dillionverma Please tell me if its good to merge or something else is remaining
We apologize for the delay. We will review it as soon as we have time and get back to you. Thank you.