updated build for new version of the api

This commit is contained in:
anovazzi1 2023-02-15 16:34:39 -03:00
commit f9ecfb5287
4 changed files with 56 additions and 3 deletions

View file

@ -1,4 +1,4 @@
export default function Input({title, placeholder, onChange}){
export default function Input({title, placeholder, onChange, value}){
return (
<>
<div>
@ -7,6 +7,7 @@ export default function Input({title, placeholder, onChange}){
</label>
<div className="mt-1">
<input
value={(value as string).length>0?value:""}
type="text"
className="block w-full form-input rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"
placeholder={placeholder}