Add option for Button.

This commit is contained in:
ArthurSonzogni
2021-07-07 22:23:07 +02:00
committed by Arthur Sonzogni
parent cd84b187b3
commit 359100ca73
5 changed files with 19 additions and 11 deletions

View File

@@ -14,6 +14,10 @@ struct MenuOption {
std::function<void()> on_enter = []() {};
};
}; // namespace ftxui
struct ButtonOption {
bool border = true;
};
}; // namespace ftxui
#endif /* end of include guard: FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP */