Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I evaluated props in JSONX #601

Open
tsukhu opened this issue Feb 28, 2022 · 0 comments
Open

How do I evaluated props in JSONX #601

tsukhu opened this issue Feb 28, 2022 · 0 comments

Comments

@tsukhu
Copy link

tsukhu commented Feb 28, 2022

Hi ,

First of all this is a very impressive project and congratulations for that.

Here is what I am trying

const HelloWorld = ({name}: {name: string}) => <p>Hello {name}</p>

How can I have the "name" prop be passed and evalualated properly
If there is an example , please point me to it.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant