Files
calendar/packages/app-store/templates/general-app-settings/components/AppSettingsInterface.tsx
T
d4c5a906b5 App Store Templates (#5289)
* Start by moving what we have to _templates

* WIP

* WIP

* Add create/edit/delete template commands

* Type fixes cli

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2023-01-18 15:30:25 -07:00

24 lines
562 B
TypeScript

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