@abgov/react-components 3.4.0-alpha.34 → 3.4.0-alpha.37
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/lib/form/form-item.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
interface WCProps {
|
|
3
|
-
name: string;
|
|
4
3
|
label: string;
|
|
5
4
|
optional?: boolean;
|
|
6
5
|
error?: string;
|
|
@@ -14,7 +13,6 @@ declare global {
|
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
interface GoAFormItemProps {
|
|
17
|
-
name: string;
|
|
18
16
|
label: string;
|
|
19
17
|
optional?: boolean;
|
|
20
18
|
error?: string;
|
package/package.json
CHANGED
package/react-components.esm.js
CHANGED
package/react-components.umd.js
CHANGED
|
@@ -357,10 +357,8 @@
|
|
|
357
357
|
helpText = _a.helpText,
|
|
358
358
|
error = _a.error,
|
|
359
359
|
optional = _a.optional,
|
|
360
|
-
name = _a.name,
|
|
361
360
|
label = _a.label;
|
|
362
361
|
return jsxRuntime.jsx("goa-form-item", __assign({
|
|
363
|
-
name: name,
|
|
364
362
|
label: label,
|
|
365
363
|
error: error,
|
|
366
364
|
optional: optional,
|