{"version":"1.0","type":"rich","title":"Basic react component","description":"This example demonstrates how to build a minimal React application that renders a simple greeting message based on a boolean property. The code defines two components, `UserGreetings` and `GuestGreetings`, which display different heading text, with a `Greeting` component intended to conditionally render one of them. Using React 16.10.0 and ReactDOM, the app mounts a root `App` component to a `<div>` with the ID `root`. The example highlights JSX syntax, component structure, and conditional rendering logic within a basic HTML page.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d1e270cacd224026bd5812d3254cc363?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}