Skip to content

Commit de46380

Browse files
committed
Update YamlViewer.tsx
1 parent 9cab399 commit de46380

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/Yaml/YamlViewer.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type YamlViewerProps = {
1717
// Download button is hidden now due to stakeholder request
1818
const SHOW_DOWNLOAD_BUTTON = false;
1919

20-
const YamlViewer: FC<YamlViewerProps> = ({ yamlString, filename, yamlStringToCopy }) => {
20+
export const YamlViewer: FC<YamlViewerProps> = ({ yamlString, filename, yamlStringToCopy }) => {
2121
const { t } = useTranslation();
2222
// const { isDarkTheme } = useTheme();
2323
const { copyToClipboard } = useCopyToClipboard();
@@ -49,5 +49,3 @@ const YamlViewer: FC<YamlViewerProps> = ({ yamlString, filename, yamlStringToCop
4949
</div>
5050
);
5151
};
52-
53-
export default YamlViewer;

0 commit comments

Comments
 (0)