Update README.md

This commit is contained in:
Arthur Sonzogni 2020-02-04 11:48:01 +01:00 committed by GitHub
parent f17acfba4c
commit 7a45585626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,16 +14,17 @@
## Level 2: ftxui::Node
A hierarchial set of element.
They handle layout and render themself on the screen (level 1)
See ftxui/dom/elements.hpp
See [elements.hpp](./dom/elements.hpp)
You can make implement your own.
## Level 3: ftxui::Component
A hierarchical set of components.
Components store some state and react to events:
* keyboard
* mouse
* terminal event
* keyboard
* mouse
* terminal event
Components renders themself by producing ftxui::Node (Level 2)
Implement your own!