@@ -75,28 +83,31 @@ export const Sports = () => {
-
- {
);
};
+
+export const Sports = () => ;
+
+export const SportsEdit = () => (
+
+);
diff --git a/packages/react/src/components/Forms/Input/stories-utils.tsx b/packages/react/src/components/Forms/Input/stories-utils.tsx
new file mode 100644
index 0000000..8cf480d
--- /dev/null
+++ b/packages/react/src/components/Forms/Input/stories-utils.tsx
@@ -0,0 +1,26 @@
+import { Controller, useFormContext } from "react-hook-form";
+import React from "react";
+import { Input, InputProps } from ".";
+
+export const RhfInput = (props: InputProps & { name: string }) => {
+ const { control, setValue } = useFormContext();
+ return (
+ {
+ return (
+ setValue(field.name, e.target.value)}
+ value={field.value}
+ />
+ );
+ }}
+ />
+ );
+};