import React from 'react';
import ReactDOM from 'react-dom';
import Select from '..';
const dataSource = [
  { label: '1', value: 1 },
  { label: '10', value: 10 },
  { label: '50', value: 50 },
  { label: '100', value: 100 },
];

const handleChange = value => {
  console.log('handleChange: ', value);
};

ReactDOM.render(
  <Select
    label="size:"
    innerAfter={<span style={{ marginRight: 4 }}>GB</span>}
    dataSource={dataSource}
    onChange={handleChange}
  />,
  document.getElementById('select-demo-9'),
);
