Skip to content

Commit

Permalink
Merge pull request #26 from hipstersmoothie/ds-cli-upgrade
Browse files Browse the repository at this point in the history
upgrade design systems cli
  • Loading branch information
tylerkrupicka authored Dec 27, 2022
2 parents 66f7d45 + 271f5f4 commit 1dc8f9d
Show file tree
Hide file tree
Showing 3 changed files with 4,296 additions and 1,257 deletions.
4 changes: 2 additions & 2 deletions components/Console/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type ExecuteFunction = (expression: string) => void;

/** A Component that renders an expression and it's result in a list */
const ConsoleResult = (props: ConsoleExpression & ResultComponent) => {
const ResultComponent = props.resultComponent;
const ResultComponentProp = props.resultComponent;
const isError = props.result instanceof Error || props.severity === "error";
const isWarning = !isError && props.severity === "warning";
let Icon = ConsoleResultIcon;
Expand All @@ -68,7 +68,7 @@ const ConsoleResult = (props: ConsoleExpression & ResultComponent) => {
>
<Icon inline className={styles.icon} />
<div className={styles.resultText}>
<ResultComponent result={props.result} />
<ResultComponentProp result={props.result} />
</div>
</div>
</li>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"html-webpack-plugin": "4.5.0"
},
"dependencies": {
"@design-systems/cli": "2.12.0",
"@design-systems/cli": "4.15.2",
"@testing-library/react": "11.0.4",
"@types/react-dom": "16.9.8",
"babel-loader": "8.1.0",
Expand Down
Loading

0 comments on commit 1dc8f9d

Please sign in to comment.