cal.pub0.org/packages/app-store/templates/general-app-settings/components/AppSettingsInterface.tsx

24 lines
562 B
TypeScript
Raw Normal View History

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 (
<div className="space-y-4 px-4 pb-4 pt-4 text-sm">
<TextField
placeholder="Some Input"
value={input}
name="Enter Input"
onChange={async (e) => {
setInput(e.target.value);
}}
/>
<Button>{t("submit")}</Button>
</div>
);
}