2023-01-18 22:30:25 +00:00
|
|
|
import { useState } from "react";
|
|
|
|
|
|
|
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
|
|
|
import { Button, TextField } from "@calcom/ui";
|
|
|
|
|
|
|
|
export default function AppSettings() {
|
|
|
|
const { t } = useLocale();
|
|
|
|
const [input, setInput] = useState("");
|
|
|
|
|
|
|
|
return (
|
2023-06-22 22:25:37 +00:00
|
|
|
<div className="space-y-4 px-4 pb-4 pt-4 text-sm">
|
2023-01-18 22:30:25 +00:00
|
|
|
<TextField
|
|
|
|
placeholder="Some Input"
|
|
|
|
value={input}
|
|
|
|
name="Enter Input"
|
|
|
|
onChange={async (e) => {
|
|
|
|
setInput(e.target.value);
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
<Button>{t("submit")}</Button>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|