aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/menu
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-03-12 19:30:22 +0100
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-03-15 16:41:08 +0000
commitb8831e5199aa0fe2bb1de531069d376182b3571d (patch)
tree9a5eb6ba206300a3ec43ba099c42302ac3707010 /ui-react/src/components/menu
parent396cb9b814626a0383ee49a928f4e534264170aa (diff)
Add refresh & update libs
Add refresh features to the policy list when changing it + update materials-Ui + update Json-editor libs to solve big lag in UI + Remove useless link in the menu + fix issue with build due to mariadb not started yet Issue-ID: POLICY-3131 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I9bcb9558f213731a4ea8e20e186fb91c9db1b6f3
Diffstat (limited to 'ui-react/src/components/menu')
-rw-r--r--ui-react/src/components/menu/MenuBar.js13
-rw-r--r--ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap483
2 files changed, 298 insertions, 198 deletions
diff --git a/ui-react/src/components/menu/MenuBar.js b/ui-react/src/components/menu/MenuBar.js
index ae1387912..995db9e16 100644
--- a/ui-react/src/components/menu/MenuBar.js
+++ b/ui-react/src/components/menu/MenuBar.js
@@ -1,6 +1,6 @@
/*-
* ============LICENSE_START=======================================================
- * ONAP CLAMP
+ * ONAP POLICY-CLAMP
* ================================================================================
* Copyright (C) 2019, 2021 AT&T Intellectual Property. All rights
* reserved.
@@ -87,15 +87,12 @@ export default class MenuBar extends React.Component {
return (
<Navbar.Collapse>
<StyledNavDropdown title="POLICY Framework">
- <NavDropdown.Item as={StyledLink} to="/manageDictionaries">Manage Metadata Dictionaries</NavDropdown.Item>
- <NavDropdown.Divider />
<NavDropdown.Item as={StyledLink} to="/viewAllPolicies">View All Policies</NavDropdown.Item>
- <NavDropdown.Item as={StyledLink} to="/viewToscaPolicyModal">View Tosca Models</NavDropdown.Item>
- <NavDropdown.Divider />
- <NavDropdown.Item as={StyledLink} to="/uploadToscaPolicyModal">Upload Tosca Model</NavDropdown.Item>
</StyledNavDropdown>
- <StyledNavDropdown title="LOOP Templates">
- <NavDropdown.Item as={StyledLink} to="/viewLoopTemplatesModal">View All Templates</NavDropdown.Item>
+ <StyledNavDropdown title="CLAMP Options">
+ <NavDropdown.Item as={StyledLink} to="/manageDictionaries">Tosca Metadata Dictionaries</NavDropdown.Item>
+ <NavDropdown.Divider />
+ <NavDropdown.Item as={StyledLink} to="/viewLoopTemplatesModal">View All Loop Templates</NavDropdown.Item>
</StyledNavDropdown>
<StyledNavDropdown title="LOOP Instance">
<NavDropdown.Item as={StyledLink} to="/createLoop">Create</NavDropdown.Item>
diff --git a/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap b/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap
index fd9956ed2..ba19097e5 100644
--- a/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap
+++ b/ui-react/src/components/menu/__snapshots__/MenuBar.test.js.snap
@@ -10,8 +10,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -40,66 +42,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
- "toString": [Function],
- "warnTooManyClasses": [Function],
- "withComponent": [Function],
- }
- }
- disabled={false}
- to="/manageDictionaries"
- >
- Manage Metadata Dictionaries
- </DropdownItem>
- <DropdownDivider
- role="separator"
- />
- <DropdownItem
- as={
- Object {
- "$$typeof": Symbol(react.forward_ref),
- "attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
- "isStatic": false,
- "rules": Array [
- "
- color: ",
- [Function],
- ";
- background-color: ",
- [Function],
- ";
- font-weight: normal;
- display: block;
- width: 100%;
- padding: .25rem 1.5rem;
- clear: both;
- text-align: inherit;
- white-space: nowrap;
- border: 0;
- :hover {
- text-decoration: none;
- background-color: ",
- [Function],
- ";
- color: ",
- [Function],
- ";
- }
-",
- ],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
},
- "displayName": "Styled(Link)",
- "foldedComponentIds": Array [],
- "render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -110,13 +69,19 @@ exports[`Verify MenuBar Test the render method 1`] = `
>
View All Policies
</DropdownItem>
+ </Styled(NavDropdown)>
+ <Styled(NavDropdown)
+ title="CLAMP Options"
+ >
<DropdownItem
as={
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -145,21 +110,32 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
}
}
disabled={false}
- to="/viewToscaPolicyModal"
+ to="/manageDictionaries"
>
- View Tosca Models
+ Tosca Metadata Dictionaries
</DropdownItem>
<DropdownDivider
role="separator"
@@ -169,8 +145,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -199,67 +177,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
- "toString": [Function],
- "warnTooManyClasses": [Function],
- "withComponent": [Function],
- }
- }
- disabled={false}
- to="/uploadToscaPolicyModal"
- >
- Upload Tosca Model
- </DropdownItem>
- </Styled(NavDropdown)>
- <Styled(NavDropdown)
- title="LOOP Templates"
- >
- <DropdownItem
- as={
- Object {
- "$$typeof": Symbol(react.forward_ref),
- "attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
- "isStatic": false,
- "rules": Array [
- "
- color: ",
- [Function],
- ";
- background-color: ",
- [Function],
- ";
- font-weight: normal;
- display: block;
- width: 100%;
- padding: .25rem 1.5rem;
- clear: both;
- text-align: inherit;
- white-space: nowrap;
- border: 0;
- :hover {
- text-decoration: none;
- background-color: ",
- [Function],
- ";
- color: ",
- [Function],
- ";
- }
-",
- ],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
},
- "displayName": "Styled(Link)",
- "foldedComponentIds": Array [],
- "render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -268,7 +202,7 @@ exports[`Verify MenuBar Test the render method 1`] = `
disabled={false}
to="/viewLoopTemplatesModal"
>
- View All Templates
+ View All Loop Templates
</DropdownItem>
</Styled(NavDropdown)>
<Styled(NavDropdown)
@@ -279,8 +213,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -309,12 +245,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -330,8 +277,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -360,12 +309,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -381,8 +341,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -411,12 +373,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -432,8 +405,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -462,12 +437,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -486,8 +472,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -516,12 +504,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -537,8 +536,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -567,12 +568,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -592,8 +604,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -622,12 +636,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -643,8 +668,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -673,12 +700,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -694,8 +732,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -724,12 +764,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -745,8 +796,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -775,12 +828,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -799,8 +863,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -829,12 +895,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -850,8 +927,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -880,12 +959,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],
@@ -916,8 +1006,10 @@ exports[`Verify MenuBar Test the render method 1`] = `
Object {
"$$typeof": Symbol(react.forward_ref),
"attrs": Array [],
- "componentStyle": ComponentStyle {
- "componentId": "sc-bdVaJa",
+ "componentStyle": e {
+ "baseHash": 1014106698,
+ "baseStyle": undefined,
+ "componentId": "sc-bdfBwQ",
"isStatic": false,
"rules": Array [
"
@@ -946,12 +1038,23 @@ exports[`Verify MenuBar Test the render method 1`] = `
}
",
],
+ "staticRulesId": "",
},
- "displayName": "Styled(Link)",
"foldedComponentIds": Array [],
"render": [Function],
- "styledComponentId": "sc-bdVaJa",
- "target": [Function],
+ "shouldForwardProp": undefined,
+ "styledComponentId": "sc-bdfBwQ",
+ "target": Object {
+ "$$typeof": Symbol(react.forward_ref),
+ "propTypes": Object {
+ "innerRef": [Function],
+ "onClick": [Function],
+ "replace": [Function],
+ "target": [Function],
+ "to": [Function],
+ },
+ "render": [Function],
+ },
"toString": [Function],
"warnTooManyClasses": [Function],
"withComponent": [Function],