From bedeebff1572fa8cfdb0a818030f6b13a3fc0f53 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Sun, 31 Dec 2023 15:32:12 -0300
Subject: remove handlers from impl

---
 .../src/handlers/InputInteger.tsx                  | 24 ----------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 packages/aml-backoffice-ui/src/handlers/InputInteger.tsx

(limited to 'packages/aml-backoffice-ui/src/handlers/InputInteger.tsx')

diff --git a/packages/aml-backoffice-ui/src/handlers/InputInteger.tsx b/packages/aml-backoffice-ui/src/handlers/InputInteger.tsx
deleted file mode 100644
index a6a02ad43..000000000
--- a/packages/aml-backoffice-ui/src/handlers/InputInteger.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { VNode, h } from "preact";
-import { InputLine } from "./InputLine.js";
-import { UIFormProps } from "./FormProvider.js";
-
-export function InputInteger<T extends object, K extends keyof T>(
-  props: UIFormProps<T, K>,
-): VNode {
-  return (
-    <InputLine
-      type="number"
-      converter={{
-        //@ts-ignore
-        fromStringUI: (v): number => {
-          return !v ? 0 : Number.parseInt(v, 10);
-        },
-        //@ts-ignore
-        toStringUI: (v?: number): string => {
-          return v === undefined ? "" : String(v);
-        },
-      }}
-      {...props}
-    />
-  );
-}
-- 
cgit v1.2.3

