You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
Openshift is seeing the following error when running verison @patternfly/react-topology": "5.3.0-prerelease.5 of react topology.
`
ERROR in node_modules/@patternfly/react-topology/src/components/layers/Layer.tsx:76:24
TS2322: Type '{ children: ReactNode; ref: MutableRefObject; }' is not assignable to type 'IntrinsicAttributes & RefAttributes'.
Property 'children' does not exist on type 'IntrinsicAttributes & RefAttributes'.
74 | }, [order, layerNode]);
75 |
ERROR in node_modules/@patternfly/react-topology/src/components/layers/LayerContainer.tsx:11:29
TS2694: Namespace 'React' has no exported member 'ForwardRefRenderFunction'.
9 | }
10 |
11 | const LayerContainer: React.ForwardRefRenderFunction<SVGGElement, LayerContainerProps> = ({ children }, ref) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^
12 | // accumulate parent positions
13 | const element = React.useContext(ElementContext);
14 | let p = element;
ERROR in node_modules/@patternfly/react-topology/src/components/popper/Popper.tsx:199:51
TS2724: 'React' has no exported member named 'RefCallback'. Did you mean 'useCallback'?
197 | ]);
198 |
ERROR in node_modules/@patternfly/react-topology/src/layouts/BreadthFirstLayout.ts:13:11
TS6133: 'gridOptions' is declared but its value is never read.
11 |
12 | export class BreadthFirstLayout extends BaseLayout implements Layout {
ERROR in node_modules/@patternfly/react-topology/src/layouts/GridLayout.ts:13:11
TS6133: 'gridOptions' is declared but its value is never read.
11 |
12 | export class GridLayout extends BaseLayout implements Layout {
Describe the problem
Openshift is seeing the following error when running verison @patternfly/react-topology": "5.3.0-prerelease.5 of react topology.
`
ERROR in node_modules/@patternfly/react-topology/src/components/layers/Layer.tsx:76:24
TS2322: Type '{ children: ReactNode; ref: MutableRefObject; }' is not assignable to type 'IntrinsicAttributes & RefAttributes'.
Property 'children' does not exist on type 'IntrinsicAttributes & RefAttributes'.
74 | }, [order, layerNode]);
75 |
ERROR in node_modules/@patternfly/react-topology/src/components/layers/LayerContainer.tsx:11:29
TS2694: Namespace 'React' has no exported member 'ForwardRefRenderFunction'.
9 | }
10 |
ERROR in node_modules/@patternfly/react-topology/src/components/popper/Popper.tsx:199:51
TS2724: 'React' has no exported member named 'RefCallback'. Did you mean 'useCallback'?
197 | ]);
198 |
ERROR in node_modules/@patternfly/react-topology/src/layouts/BreadthFirstLayout.ts:13:11
TS6133: 'gridOptions' is declared but its value is never read.
11 |
12 | export class BreadthFirstLayout extends BaseLayout implements Layout {
ERROR in node_modules/@patternfly/react-topology/src/layouts/GridLayout.ts:13:11
TS6133: 'gridOptions' is declared but its value is never read.
11 |
12 | export class GridLayout extends BaseLayout implements Layout {
** Additional Information **
The following are the release candidate versions:
"@patternfly/patternfly": "5.3.0-prerelease.5",
"@patternfly/react-charts": "7.3.0-prerelease.6",
"@patternfly/react-code-editor": "5.3.0-prerelease.25",
"@patternfly/react-core": "5.3.0-prerelease.23",
"@patternfly/react-drag-drop": "5.3.0-prerelease.23",
"@patternfly/react-icons": "5.3.0-prerelease.3",
"@patternfly/react-styles": "5.3.0-prerelease.3",
"@patternfly/react-table": "5.3.0-prerelease.25",
"@patternfly/react-templates": "1.0.0-prerelease.6",
"@patternfly/react-tokens": "5.3.0-prerelease.3",
"@patternfly/react-topology": "5.3.0-prerelease.5",
"@patternfly/quickstarts": "5.3.0-prerelease.1"
What is your product and what release date are you targeting?
This is for release of 5.3.0 of PatternFly.
The text was updated successfully, but these errors were encountered: