How to use the idyll-components.Dynamic function in idyll-components

To help you get started, we’ve selected a few idyll-components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github idyll-lang / idyll / packages / idyll-docs / idyll-components / contents.js View on Github external
{
          Button: {
            thumbnail: 'button.png',
            description:
              'This will display a button. To control what happens when the button is clicked, add an `onClick` property:',
            image: 'button.gif',
            component: COMPONENTS.Button,
            liveExample: true
          }
        },
        {
          Dynamic: {
            thumbnail: 'dynamic.png',
            description: 'This will render a dynamic variable to the screen.',
            image: 'dynamic.gif',
            component: COMPONENTS.Dynamic,
            liveExample: true
          }
        },
        {
          Radio: {
            thumbnail: 'radio.png',
            component: COMPONENTS.Radio,
            description: 'This component displays a set of radio buttons.',
            liveExample: true
          }
        },
        {
          Range: {
            thumbnail: 'range.png',
            component: COMPONENTS.Range,
            description: 'This component displays a range slider.',