diff --git a/website/src/components/Fields.tsx b/website/src/components/Fields.tsx deleted file mode 100644 index 2233318e..00000000 --- a/website/src/components/Fields.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import clsx from "clsx"; - -const formClasses = - "block w-full appearance-none rounded-lg border border-gray-200 bg-white py-[calc(theme(spacing.2)-1px)] px-[calc(theme(spacing.3)-1px)] text-gray-900 placeholder:text-gray-400 focus:border-cyan-500 focus:outline-none focus:ring-cyan-500 sm:text-sm"; - -function Label({ id, children }) { - return ( - - ); -} - -export function TextField({ id, label, type = "text", className, ...props }) { - return ( -
- {label && } - -
- ); -} - -export function SelectField({ id, label, className, ...props }) { - return ( -
- {label && } -