We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d8968 commit ddd97f0Copy full SHA for ddd97f0
1 file changed
extensions/ql-vscode/src/view/data-extensions-editor/LibraryRow.tsx
@@ -7,6 +7,7 @@ import { pluralize } from "../../pure/word";
7
import { ModeledMethodDataGrid } from "./ModeledMethodDataGrid";
8
import { calculateModeledPercentage } from "./modeled";
9
import { decimalFormatter, percentFormatter } from "./formatters";
10
+import { Codicon } from "../common";
11
12
const LibraryContainer = styled.div`
13
margin-bottom: 1rem;
@@ -69,6 +70,11 @@ export const LibraryRow = ({
69
70
return (
71
<LibraryContainer>
72
<TitleContainer onClick={toggleExpanded} aria-expanded={isExpanded}>
73
+ {isExpanded ? (
74
+ <Codicon name="chevron-down" label="Collapse" />
75
+ ) : (
76
+ <Codicon name="chevron-right" label="Expand" />
77
+ )}
78
{libraryName}
79
{isExpanded ? null : (
80
<>
0 commit comments