FTXUI/include/ftxui/dom
Kefu Chai 95c766e9e4
Component decorators (#354)
Add decorator variants for decorator components

Add the "pipe" operator for components, similar to what was done for Elements.
We are able to put something like:
```
Button(...) | Maybe(&show_button)
```

Add decorators for:
- `Maybe`
- `CatchEvent`
- `Renderer`

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
2022-03-12 15:18:36 +01:00
..
canvas.hpp Execute IWYU (#299) 2022-01-07 11:03:54 +01:00
deprecated.hpp Prefer std::string over std::wstring. (#179) 2021-08-08 23:25:20 +02:00
elements.hpp Component decorators (#354) 2022-03-12 15:18:36 +01:00
flexbox_config.hpp Implement flexbox (#277) 2021-12-11 17:58:25 +01:00
node.hpp Implement flexbox (#277) 2021-12-11 17:58:25 +01:00
requirement.hpp Implement flexbox (#277) 2021-12-11 17:58:25 +01:00
table.hpp Replace std::clamp with util::clamp and reformat the code (#321) 2022-02-05 15:03:45 +01:00
take_any_args.hpp Improve the documentation. 2021-07-11 12:23:42 +02:00