Skip to content

Commit

Permalink
[docs-infra] Fix display when the default props is undefined (#41114)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Feb 16, 2024
1 parent 1077906 commit c434322
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 c434322

Please sign in to comment.