import React from 'react';
import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest';

demoTest('radio');

rootPropsTest(
  'radio',
  (Radio, props) => (
    <Radio.Group
      {...props}
      options={[
        {
          label: 'Bamboo',
          value: 'bamboo',
        },
      ]}
    />
  ),
  {
    name: 'Radio.Group',
  },
);
