Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[docs-infra] Fix display of empty default props
  • Loading branch information
oliviertassinari committed Feb 15, 2024
commit f892e9345d80b541489f5aec6544fd49b34366f6
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