review suggestion

Signed-off-by: Reyna Nikolayev <reyna.nikolayev@autodesk.com>
This commit is contained in:
Reyna Nikolayev
2025-04-30 10:54:00 -07:00
parent d6d4b24e35
commit e0cc701956
@@ -33,7 +33,9 @@ export type QuickStartCardProps = {
docsLinkTitle?: string | JSX.Element;
/** The link to docs */
docsLink?: string;
/** The video to play on the card */
/** The video to play on the card
* @deprecated This will be removed in the future, please use `additionalContent` instead
*/
video?: JSX.Element;
/** Additional card content */
additionalContent?: JSX.Element;
@@ -80,8 +82,8 @@ export const Content = (props: QuickStartCardProps): JSX.Element => {
</Link>
</Grid>
</Grid>
{props.video && props.video}
{props.additionalContent && props.additionalContent}
{(props.additionalContent && props.additionalContent) ||
(props.video && props.video)}
</>
);
};