Skip to content

Commit

Permalink
[docs-infra] Fix display of empty default props
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 15, 2024
1 parent f9b141f commit f892e93
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ export default function PropertiesTable(props: PropertiesTableProps) {
}
</td>
<td className="default-column">
<span className="MuiApi-table-item-default">{propDefault}</span>
{propDefault ? (
<span className="MuiApi-table-item-default">{propDefault}</span>
) : (
'-'
)}
</td>
<td className="MuiPropTable-description-column">
{description && <PropDescription description={description} />}
Expand Down

0 comments on commit f892e93

Please sign in to comment.