docs: fix typos and grammar (#1055)

This commit is contained in:
Arthur Sonzogni
2025-06-04 19:40:43 +02:00
committed by GitHub
parent 44dcd41b5e
commit 3367c3a005
14 changed files with 43 additions and 44 deletions

View File

@@ -12,11 +12,11 @@
namespace ftxui {
/// @brief A collapsible component. It display a checkbox with an arrow. Once
/// activated, the children is displayed.
/// @brief A collapsible component. It displays a checkbox with an arrow. Once
/// activated, the child is displayed.
/// @param label The label of the checkbox.
/// @param child The children to display.
/// @param show Hold the state about whether the children is displayed or not.
/// @param child The child to display.
/// @param show Hold the state about whether the child is displayed or not.
///
/// ### Example
/// ```cpp

View File

@@ -68,7 +68,7 @@ void UnderlineOption::SetAnimationFunction(
follower_function = std::move(f_follower);
}
/// @brief Standard options for an horizontal menu.
/// @brief Standard options for a horizontal menu.
/// This can be useful to implement a tab bar.
/// @ingroup component
// static
@@ -148,7 +148,7 @@ MenuOption MenuOption::VerticalAnimated() {
return option;
}
/// @brief Standard options for a horitontal menu with some separator.
/// @brief Standard options for a horizontal menu with some separator.
/// This can be useful to implement a tab bar.
/// @ingroup component
// static