import * as React from "react"
import { ComponentStory, ComponentMeta } from "@storybook/react"

import { NumberInput } from "../src"

export default {
  title: "通用/限制输入Input",
  component: NumberInput
} as ComponentMeta<typeof NumberInput>

// Story模版
const Template: ComponentStory<typeof NumberInput> = args => (
  <div style={{ width: "100%", padding: "30px 20px" }}>
    <NumberInput {...args} variant="outlined" />
  </div>
)

export const Normal = Template.bind({})
