@engagebay/engagebay-form-module 1.0.0-beta.3-1 → 1.0.0-beta.3-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ import { Field } from "@headlessui/react";
|
|
|
7
7
|
import RenderFormField from "../util/RenderFormField";
|
|
8
8
|
import { handleChange, registerFormField } from "../util";
|
|
9
9
|
|
|
10
|
-
const ColorPickerField: React.FC<FormFieldComponentPropSchema> = (
|
|
10
|
+
export const ColorPickerField: React.FC<FormFieldComponentPropSchema> = (
|
|
11
11
|
props: FormFieldComponentPropSchema
|
|
12
12
|
) => {
|
|
13
13
|
const formContext = useContext(FormContext);
|
|
@@ -57,5 +57,3 @@ const ColorPickerField: React.FC<FormFieldComponentPropSchema> = (
|
|
|
57
57
|
<RenderFormField fieldConfig={props.fieldConfig} getInput={getInput} />
|
|
58
58
|
);
|
|
59
59
|
};
|
|
60
|
-
|
|
61
|
-
export default ColorPickerField;
|
|
@@ -7,7 +7,7 @@ import { Input } from "@headlessui/react";
|
|
|
7
7
|
import RenderFormField from "../util/RenderFormField";
|
|
8
8
|
import { handleChange, registerFormField } from "../util";
|
|
9
9
|
|
|
10
|
-
const RangeField: React.FC<FormFieldComponentPropSchema> = (
|
|
10
|
+
export const RangeField: React.FC<FormFieldComponentPropSchema> = (
|
|
11
11
|
props: FormFieldComponentPropSchema
|
|
12
12
|
) => {
|
|
13
13
|
const formContext = useContext(FormContext);
|
|
@@ -51,5 +51,3 @@ const RangeField: React.FC<FormFieldComponentPropSchema> = (
|
|
|
51
51
|
<RenderFormField fieldConfig={props.fieldConfig} getInput={getInput} />
|
|
52
52
|
);
|
|
53
53
|
};
|
|
54
|
-
|
|
55
|
-
export default RangeField;
|