#include "ftxui/component/button.hpp" #include "ftxui/component/component.hpp" #include "ftxui/component/container.hpp" #include "ftxui/component/screen_interactive.hpp" using namespace ftxui; class MyComponent : public Component { private: std::vector> buttons_; Container container_ = Container::Horizontal(); public: MyComponent() { Add(&container_); auto button_add = std::make_unique