import { Select } from '@chakra-ui/core';
import { SelectProps } from '@chakra-ui/core';

export const TableSelectShow = (props: SelectProps) => {
  const { value, ...rest } = props;
  return (
    <Select size="sm" {...rest}>
      {[5, 10, 20, 30, 40, 50].map(value => (
        <option key={value} value={value}>
          Show {value}
        </option>
      ))}
    </Select>
  );
};
