import React from 'react';

import { InputNumber } from 'antd';

import type { ComponentDemo } from '../../interface';

function onChange() {}

const Demo = () => <InputNumber status={'error'} min={1} max={10} defaultValue={3} onChange={onChange} />;

const componentDemo: ComponentDemo = {
  demo: <Demo />,
  tokens: ['colorErrorBorder', 'colorErrorOutline', 'colorErrorHover', 'colorError'],
  key: 'danger',
};

export default componentDemo;
