import Input from '..';
import React from 'react';
import ReactDOM from 'react-dom';

ReactDOM.render(
  <div>
    <Input.TextArea
      autoHeight
      aria-label="auto height"
      placeholder="autoHeight"
      onKeyDown={(e, opts) => {
        console.log('onKeyDown', opts);
      }}
    />
    <br />
    <br />

    <Input.TextArea
      aria-label="auto height"
      autoHeight={{ minRows: 2, maxRows: 6 }}
    />
  </div>,
  document.getElementById('input-demo-10'),
);
