import React from 'react';
import ReactDOM from 'react-dom';
import { Radio, RadioOption } from 'web-foundation';

const options = [
    new RadioOption({ title: 'First Option', value: 1 }),
    new RadioOption({ title: 'Second Option', value: 2 })
];

export default function() {
    ReactDOM.render(
        <Radio items={ options }
            value={ 1 } />,
        document.getElementById('radio'));
}
