File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
extensions/ql-vscode/src/view/data-extensions-editor Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { pluralize } from "../../pure/word";
77import { ModeledMethodDataGrid } from "./ModeledMethodDataGrid" ;
88import { calculateModeledPercentage } from "./modeled" ;
99import { decimalFormatter , percentFormatter } from "./formatters" ;
10+ import { Codicon } from "../common" ;
1011
1112const LibraryContainer = styled . div `
1213 margin-bottom: 1rem;
@@ -69,6 +70,11 @@ export const LibraryRow = ({
6970 return (
7071 < LibraryContainer >
7172 < TitleContainer onClick = { toggleExpanded } aria-expanded = { isExpanded } >
73+ { isExpanded ? (
74+ < Codicon name = "chevron-down" label = "Collapse" />
75+ ) : (
76+ < Codicon name = "chevron-right" label = "Expand" />
77+ ) }
7278 { libraryName }
7379 { isExpanded ? null : (
7480 < >
You can’t perform that action at this time.
0 commit comments