tui-widgets icon indicating copy to clipboard operation
tui-widgets copied to clipboard

Possibility to render stateful widget inside popup

Open kxxt opened this issue 9 months ago • 4 comments

I want to render a stateful widget(The built-in widget list). But it appears that I can't pass the state through tui-popup.

Would it be possible to design an API to allow state to be passed through tui-popup to a inner stateful widget? Or should we change the API to make popup work more like a Block so that users could manually render whatever they want inside it?

kxxt avatar Apr 29 '24 14:04 kxxt