const x = 1;
+ node --no-deprecation app.js
+ node --no-deprecation app.js
+ node --no-deprecation app.js,
+ },
+};
+
export default { component: BaseCodeBox } as Meta;
diff --git a/packages/ui-components/src/Common/BaseCodeBox/index.tsx b/packages/ui-components/src/Common/BaseCodeBox/index.tsx
index af31bcdf3c37f..b966a48143640 100644
--- a/packages/ui-components/src/Common/BaseCodeBox/index.tsx
+++ b/packages/ui-components/src/Common/BaseCodeBox/index.tsx
@@ -3,6 +3,7 @@
import {
DocumentDuplicateIcon,
CodeBracketIcon,
+ CheckIcon,
} from '@heroicons/react/24/outline';
import classNames from 'classnames';
import { Fragment, isValidElement, useRef } from 'react';
@@ -88,10 +89,13 @@ const BaseCodeBox: FC> = ({
{transformCode(children as ReactElement, language)}
- {!language || hideFooter || (
+ {hideFooter && (
+