Open nebula-aac opened 12 months ago
Meshery UI has a PromptComponent, and it is also a React Class component.
PromptComponent
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.
sistent
Contributor Guide
Update: Testing this in Next.js PR first before adding in sistent-components
sistent-components
Open PR here: https://github.com/layer5io/sistent/pull/704
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