0.0.17 • Published 2 years ago

custom-input-text v0.0.17

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

React + Next js + TypeScript + Vite + Tailwind CSS

  const [name, setName] = useState<string>("");
  const [price, setPrice] = useState<number>();
  const [catgeory, setCatgeory] = useState<string>("");

      <InputText
        labelText="Name"
        placeholder="Enter your Name"
        htmlFor="name"
        value={name}
        onChange={setName}
      />
      <InputNumber
        labelText="Price"
        placeholder="Enter your Price"
        htmlFor="price"
        value={price}
        onChange={setPrice}
      />
      <InputOption
        labelText="Catgeory"
        htmlFor="catgeory"
        value={catgeory}
        onChange={setCatgeory}
        options={} // map value
      />
container=""   // optional style parent div
labelClass=""  // optional style label
inputClass=""  // optional style input
0.0.17

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago

0.0.2

4 years ago

0.0.1

4 years ago