simcha90 commented on a change in pull request #12920:
URL: https://github.com/apache/superset/pull/12920#discussion_r569471680



##########
File path: superset-frontend/src/SqlLab/components/SqlEditorLeftBar.jsx
##########
@@ -145,13 +146,38 @@ export default class SqlEditorLeftBar extends 
React.PureComponent {
         <div className="divider" />
         <StyledScrollbarContainer>
           <StyledScrollbarContent contentHeight={tableMetaDataHeight}>
-            {this.props.tables.map(table => (
-              <TableElement
-                table={table}
-                key={table.id}
-                actions={this.props.actions}
-              />
-            ))}
+            <Collapse
+              ghost
+              expandIconPosition="right"
+              css={theme => css`

Review comment:
       I saw in other components in superset project we use `styled-components` 
style to build css like:
   
![image](https://user-images.githubusercontent.com/56388545/106762905-fc30e380-663e-11eb-92b0-d443728255cc.png)
   
   so I think it can be good also here create new components basing on same 
patterns :)
   cc @villebro @ktmud is our standard, right?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to