We are glad to announce we added the long awaited Variables UI support on the Flayyer.com dashboard.
This allows users to know what variables are required and optional in each template.
Now an UI Widget will be displayed based on the type of the variable. We support a hint, a default value and even an array of examples! 🤯
You can start using it by upgrading
^1.17.0 and installing
Here is an example:
Some custom types are:
V.Font. We will be adding over the next weeks.
For TypeScript users you can get the inferred type of
Finally, you can validate and parse the incomming variables with the
Validator class from
Checkout flayyer/flayyer-official to see a a real project using these new feature.
Are we missing a feature? Have you found a bug? Let us know via Github: github.com/flayyer/flayyer-variables.