Created
January 20, 2022 02:01
-
-
Save danmcclain/5f9876a11fc3957d2f1acc9b3c1503e8 to your computer and use it in GitHub Desktop.
Passing values to starlark via pixlet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("render.star", "render") | |
def main(args): | |
return render.Root( | |
child = render.Text(args["name"]), | |
) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pixlet render examples/sample.star name=dan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment