fix(scaffolder): requested changes

Signed-off-by: Zander Franks <zander@zanderf.net>
This commit is contained in:
Zander Franks
2023-05-04 12:37:35 -05:00
parent ebf3c0e7a1
commit b779e98756
7 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ export type ScaffolderOutputLink = {
export type ScaffolderOutputText = {
title?: string;
icon?: string;
data?: string;
content?: string;
};
// @public
+1 -1
View File
@@ -88,7 +88,7 @@ export type ScaffolderOutputLink = {
export type ScaffolderOutputText = {
title?: string;
icon?: string;
data?: string;
content?: string;
};
/** @public */
@@ -64,7 +64,7 @@ export const DefaultTemplateOutputs = (props: {
titleTypographyProps={{ component: 'h2' }}
>
<Box padding={2} height="100%">
<MarkdownContent content={textOutput.data ?? ''} />
<MarkdownContent content={textOutput.content ?? ''} />
</Box>
</InfoCard>
</Box>
@@ -38,7 +38,7 @@ export const TextOutputs = (props: {
return (
<>
{text
.filter(({ data }) => data)
.filter(({ content }) => content !== undefined)
.map(({ title, icon }, i) => {
const Icon = iconResolver(icon);
return (