diff --git a/include/ftxui/component/component.hpp b/include/ftxui/component/component.hpp index 20d039f1..fd4aec02 100644 --- a/include/ftxui/component/component.hpp +++ b/include/ftxui/component/component.hpp @@ -74,7 +74,10 @@ Component Radiobox(ConstStringListRef entries, int* selected_, RadioboxOption options = {}); -Component Dropdown(ConstStringListRef entries, int* selected, DropdownOption options = {}); +Component Dropdown(ConstStringListRef entries, + int* selected, + DropdownOption options = {}); + Component Toggle(ConstStringListRef entries, int* selected); // General slider constructor: diff --git a/include/ftxui/component/component_options.hpp b/include/ftxui/component/component_options.hpp index 80480c42..1f4990ae 100644 --- a/include/ftxui/component/component_options.hpp +++ b/include/ftxui/component/component_options.hpp @@ -151,7 +151,6 @@ struct CheckboxOption { /// @brief Option for the Dropdown component. /// @ingroup component struct DropdownOption { - bool border = true; // Observer: