Skip to content
Snippets Groups Projects
Unverified Commit 95c766e9 authored by Kefu Chai's avatar Kefu Chai Committed by GitHub
Browse files

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: default avatarKefu Chai <tchaikov@gmail.com>
Co-authored-by: default avatarArthurSonzogni <sonzogniarthur@gmail.com>
parent 3e28fd65
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment