updated build for new version of the api
This commit is contained in:
parent
4abe15ae43
commit
f9ecfb5287
4 changed files with 56 additions and 3 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue