fix(scaffolder): requested changes
Signed-off-by: Zander Franks <zander@zanderf.net>
This commit is contained in:
@@ -221,7 +221,7 @@ export type ScaffolderOutputLink = {
|
||||
export type ScaffolderOutputText = {
|
||||
title?: string;
|
||||
icon?: string;
|
||||
data?: string;
|
||||
content?: string;
|
||||
};
|
||||
|
||||
// @public
|
||||
|
||||
@@ -88,7 +88,7 @@ export type ScaffolderOutputLink = {
|
||||
export type ScaffolderOutputText = {
|
||||
title?: string;
|
||||
icon?: string;
|
||||
data?: string;
|
||||
content?: string;
|
||||
};
|
||||
|
||||
/** @public */
|
||||
|
||||
+1
-1
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user