Skip to content

Conversation

@uson1x
Copy link

@uson1x uson1x commented Jul 9, 2024

This PR adds new prop wordClassNames, which allows to define custom class name(s) for each word separately.

I believe this can greatly improve the ability to customize word presentation at call-site.
In our project we use it to add shadows and outline per-word (e. g. allows you to have a 'selected word' presented differently)

@uson1x uson1x marked this pull request as draft July 9, 2024 05:39
This commit adds new prop `wordClassNames`, which allows to define
custom class name(s) for each word separately. This expands the ability
to customize words presentation at call-site.
@uson1x uson1x force-pushed the add-class-names branch from 76bd94b to 999e859 Compare July 9, 2024 05:41
@uson1x uson1x marked this pull request as ready for review July 9, 2024 05:49
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.

1 participant