@conduction/components 2.1.3 → 2.1.4
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@
|
|
|
10
10
|
* Export KeyValue input component (wrapped in FormFieldGroup)
|
|
11
11
|
*/
|
|
12
12
|
interface CreateKeyValueProps {
|
|
13
|
+
name: string;
|
|
13
14
|
control: Control<FieldValues, any>;
|
|
14
15
|
defaultValue?: IKeyValue[];
|
|
15
16
|
}
|
|
@@ -19,7 +20,7 @@ export interface IKeyValue {
|
|
|
19
20
|
value: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
export const CreateKeyValue: React.FC<CreateKeyValueProps &
|
|
23
|
+
export const CreateKeyValue: React.FC<CreateKeyValueProps & IReactHookFormProps> = ({
|
|
23
24
|
name,
|
|
24
25
|
errors,
|
|
25
26
|
control,
|