import React, { useState } from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { OPVolumeInput } from '../../src/index';

export default {
  title: '组件/数据录入/OPVolumeInput',
  component: OPVolumeInput,
} as ComponentMeta<typeof OPVolumeInput>;

export const 体积: ComponentStory<typeof OPVolumeInput> = (): JSX.Element => {
  return (
    <OPVolumeInput
      onEnter={(value) => {
        console.log(value);
      }}
    />
  );
};
