diff --git a/src/components/form/label.astro b/src/components/form/label.astro deleted file mode 100644 index 027e28c..0000000 --- a/src/components/form/label.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- -import RequiredIndicator from "@/components/form/required-indicator.astro"; - -interface Props { - id?: string; - required?: boolean; -} - -const { id, required } = Astro.props; ---- - -
diff --git a/src/components/form/required-indicator.astro b/src/components/form/required-indicator.astro deleted file mode 100644 index bfa8164..0000000 --- a/src/components/form/required-indicator.astro +++ /dev/null @@ -1,9 +0,0 @@ ---- -interface Props { - required?: boolean; -} - -const { required } = Astro.props; ---- - -{required ? * : null} diff --git a/src/components/form/text-area-field.astro b/src/components/form/text-area-field.astro deleted file mode 100644 index 06f23ff..0000000 --- a/src/components/form/text-area-field.astro +++ /dev/null @@ -1,24 +0,0 @@ ---- -import Label from "@/components/form/label.astro"; - -interface Props { - disabled?: boolean; - id?: string; - label: string; - name: string; - required?: boolean; - rows?: number; -} - -const { disabled, id, label, name, required, ...rest } = Astro.props; ---- - - diff --git a/src/components/form/text-input-field.astro b/src/components/form/text-input-field.astro deleted file mode 100644 index 50d1134..0000000 --- a/src/components/form/text-input-field.astro +++ /dev/null @@ -1,28 +0,0 @@ ---- -import type { HTMLAttributes } from "astro/types"; - -import Label from "@/components/form/label.astro"; - -interface Props { - disabled?: boolean; - id?: string; - label: string; - name: string; - required?: boolean; - type?: HTMLAttributes<"input">["type"]; -} - -const { disabled, id, label, name, required, type, ...rest } = Astro.props; ---- - -