How to use the idyll-components.Boolean 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
'The components are used to accept reader input and update variables in response.',
      components: [
        {
          Action: {
            thumbnail: 'action.png',
            component: COMPONENTS.Action,
            description:
              'The `action` component allows you to add event handlers to text. For example:',
            liveExample: true
          }
        },
        {
          Boolean: {
            thumbnail: 'boolean.png',
            image: 'boolean.gif',
            component: COMPONENTS.Boolean,
            description: 'This will display a checkbox.',
            liveExample: true
          }
        },
        {
          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: {