Skip to content

Commit

Permalink
feat: 🎸 add prop to disable SQFormScrollableCard header
Browse files Browse the repository at this point in the history
✅ Closes: #434
  • Loading branch information
jamesgriffith9519 committed Aug 19, 2021
1 parent a7046b1 commit 3378b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SQFormScrollableCard/SQFormScrollableCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ function SQFormScrollableCard({
square={true}
className={classes.card}
>
{!isHeaderDisabled ? (
{!isHeaderDisabled && (
<CardHeader
title={title}
className={classes.cardHeader}
titleTypographyProps={{variant: 'h4'}}
/>
) : null}
)}

<CardContent className={classes.cardContent}>
{SubHeaderComponent}
Expand Down

0 comments on commit 3378b57

Please sign in to comment.