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: allow for different flag rendering (e.g. to add an icon). #29

Merged
merged 2 commits into from
Nov 25, 2021

Conversation

cjpete
Copy link

@cjpete cjpete commented Nov 23, 2021

In order to support adding an icon to visually indicate that the flag is tappable (e.g. in image below), support a backwards compatible renderFlag method.

image

@zizzle6717
Copy link

Could you add example of usage in the README file?

@cjpete
Copy link
Author

cjpete commented Nov 25, 2021

@zizzle6717 I've added an example to the readme, and added mention of the flagStyle overrides which are preferable for most everyday use-cases.

@rililive rililive merged commit 1504394 into rili-live:main Nov 25, 2021
@rililive
Copy link

Thanks @cjpete Published at v1.3.0

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.

3 participants