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

Feature: allow customizing buttons #163

Closed
Fabilin opened this issue May 2, 2024 · 0 comments · Fixed by #164
Closed

Feature: allow customizing buttons #163

Fabilin opened this issue May 2, 2024 · 0 comments · Fixed by #164
Labels
enhancement New feature or request

Comments

@Fabilin
Copy link
Member

Fabilin commented May 2, 2024

Bots can currently display 3 types of buttons: URL buttons, post-back buttons, and quick replies, but the default component for these may not always be enough. For example, an application may wish to add a custom listener to one or more button types, to run custom effects or provide analytics, or it may wish to customize the button rendering with extra elements (like icons for specific links).

It would therefore be helpful to extend the renderers setting introduced in #159 for images and text with a new ButtonRenderer type.

@Fabilin Fabilin added the enhancement New feature or request label May 2, 2024
Fabilin added a commit to Fabilin/tock-react-kit that referenced this issue May 2, 2024
Fabilin added a commit that referenced this issue Oct 4, 2024
* closes #163: add custom button renderer setting

* move endPoint from Chat props to TockSettings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant