Radio Image

Atribute Description Type Required
value Will be used as default value. String Yes
options An array of objects representing each radio input. Each should have a (String) label, a (String) value and a (String) src Array Yes

And all the common properties for all components.

Example

{
  category: 'layout',
  type: 'radioImage',
  propName: 'layout',
  label: 'Select a layout',
  value: 'center',
  options: [
    { label: 'Center', value: 'center', src: 'http://img.com/center.jpg' },
    { label: 'Left', value: 'left', src: 'http://img.com/left.jpg' },
    { label: 'Right', value: 'right', src: 'http://img.com/right.jpg' },
  ],
}

Will render:

results matching ""

    No results matching ""