Skip to content

Commit

Permalink
📚 Add link to open discussion to doc on working with conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
raycharius committed Jul 24, 2021
1 parent 36c72f9 commit 77db4ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/working-with-conditions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Working With Conditions

?> **Note:** We are exploring new ways of handling inline logic and conditions in **Block Builder**! Weigh in with your thoughts or proposals [over on GitHub](https://github.com/raycharius/slack-block-builder/issues/66).

There are multiple ways to handle conditionals with **Block Builder**, and this is really where it provides the most flexibility, since the setter methods, when receiving an argument with a value of `undefined`, simply do not set the property.

### Preferred Way
Expand Down Expand Up @@ -88,4 +90,4 @@ const myModal = ({ someData }) => {

return view.buildToJSON();
};
```
```

0 comments on commit 77db4ea

Please sign in to comment.