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

[components]: Create custom Prompt component #318

Open
Tracked by #402
nebula-aac opened this issue Nov 12, 2023 · 2 comments
Open
Tracked by #402

[components]: Create custom Prompt component #318

nebula-aac opened this issue Nov 12, 2023 · 2 comments

Comments

@nebula-aac
Copy link
Contributor

nebula-aac commented Nov 12, 2023

Meshery UI has a PromptComponent, and it is also a React Class component.

Here is the file for reference: https://github.com/meshery/meshery/blob/master/ui/components/PromptComponent.js

Because it is a Class Component, it is important to convert to a React Function component in Typescript in sistent, so this can be reused in Meshery UI.


Contributor Guide

@nebula-aac nebula-aac added kind/enhancement Improvement in current feature component/components labels Nov 12, 2023
@nebula-aac
Copy link
Contributor Author

Update: Testing this in Next.js PR first before adding in sistent-components

@nebula-aac
Copy link
Contributor Author

Open PR here: #704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant