layer5io / sistent

Layer5 Design System
https://layer5.io/projects/sistent
Apache License 2.0
69 stars 95 forks source link

[components]: Create custom `Prompt` component #318

Open nebula-aac opened 12 months ago

nebula-aac commented 12 months ago

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 commented 11 months ago

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

nebula-aac commented 2 months ago

Open PR here: https://github.com/layer5io/sistent/pull/704