How to use the idyll-components.Chart 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
description: 'A user-editable text input field.',
            liveExample: true
          }
        }
      ]
    }
  },
  {
    Presentation: {
      description:
        'These components render something to the screen, for example the `Chart` component takes data as input and can display several types of charts.',
      components: [
        {
          Chart: {
            thumbnail: 'chart.png',
            component: COMPONENTS.Chart,
            description: 'This will display a chart.',
            image: 'chart.png',
            liveExample: true
          }
        },
        {
          Conditional: {
            thumbnail: 'conditional.png',
            description:
              'This component will conditionally display its children.',
            component: COMPONENTS.Conditional,
            liveExample: true
          }
        },
        {
          Display: {