We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1077906 commit c434322Copy full SHA for c434322
docs/src/modules/components/ApiPage/table/PropertiesTable.tsx
@@ -177,7 +177,11 @@ export default function PropertiesTable(props: PropertiesTableProps) {
177
}
178
</td>
179
<td className="default-column">
180
- <span className="MuiApi-table-item-default">{propDefault}</span>
+ {propDefault ? (
181
+ <span className="MuiApi-table-item-default">{propDefault}</span>
182
+ ) : (
183
+ '-'
184
+ )}
185
186
<td className="MuiPropTable-description-column">
187
{description && <PropDescription description={description} />}
0 commit comments