mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-24 16:21:12 +08:00
fix typos in Maybe comments
This commit is contained in:
parent
b65bbce9bb
commit
a1d151625f
@ -15,7 +15,7 @@ namespace ftxui {
|
|||||||
|
|
||||||
/// @brief Decorate a component |child|. It is shown only when |show| returns
|
/// @brief Decorate a component |child|. It is shown only when |show| returns
|
||||||
/// true.
|
/// true.
|
||||||
/// @param child the compoenent to decorate.
|
/// @param child the component to decorate.
|
||||||
/// @param show a function returning whether |child| should shown.
|
/// @param show a function returning whether |child| should shown.
|
||||||
/// @ingroup component
|
/// @ingroup component
|
||||||
Component Maybe(Component child, std::function<bool()> show) {
|
Component Maybe(Component child, std::function<bool()> show) {
|
||||||
@ -61,7 +61,7 @@ ComponentDecorator Maybe(std::function<bool()> show) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// @brief Decorate a component |child|. It is shown only when |show| is true.
|
/// @brief Decorate a component |child|. It is shown only when |show| is true.
|
||||||
/// @param child the compoennt to decorate.
|
/// @param child the component to decorate.
|
||||||
/// @param show a boolean. |child| is shown when |show| is true.
|
/// @param show a boolean. |child| is shown when |show| is true.
|
||||||
/// @ingroup component
|
/// @ingroup component
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user