update video prop name

Signed-off-by: Reyna Nikolayev <reyna.nikolayev@autodesk.com>
This commit is contained in:
Reyna Nikolayev
2025-04-18 15:47:18 -07:00
parent 95af6f3d19
commit b9b3b3520d
5 changed files with 15 additions and 13 deletions
@@ -33,8 +33,8 @@ export type QuickStartCardProps = {
docsLinkTitle?: string | JSX.Element;
/** The link to docs */
docsLink?: string;
/** The video to play on the card */
video?: JSX.Element;
/** Additional card content */
additionalContent?: JSX.Element;
/** A quickstart image to display on the card */
image: JSX.Element;
/** The card description*/
@@ -78,7 +78,7 @@ export const Content = (props: QuickStartCardProps): JSX.Element => {
</Link>
</Grid>
</Grid>
{props.video && props.video}
{props.additionalContent && props.additionalContent}
</>
);
};
@@ -62,6 +62,13 @@ export const Customized = () => {
/>
}
cardDescription="Backstage system model will help you create new entities"
additionalContent={
<p>
This is a custom description for the Quick Start card. It can be
used to provide additional information or context about the Quick
Start process.
</p>
}
/>
</Grid>
);
@@ -23,8 +23,7 @@ export type QuickStartCardClassKey =
| 'contentModal'
| 'imageSize'
| 'link'
| 'linkText'
| 'videoContainer';
| 'linkText';
export const useStyles = makeStyles(
(theme: Theme) => ({
@@ -57,12 +56,6 @@ export const useStyles = makeStyles(
linkText: {
marginBottom: theme.spacing(1.5),
},
videoContainer: {
borderRadius: '10px',
width: '100%',
height: 'auto',
background: `${theme.palette.background.default}`,
},
}),
{ name: 'HomeQuickStartCard' },
);