Skip to content

Commit de4dfbb

Browse files
fix: wrap on PropTable column Type on whitespace
1 parent 7ef92d5 commit de4dfbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Tooltip/TooltipPlacement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ export const mapPlacementWithDeprecationWarning = (placement: TooltipPlacement |
2727
if (mappedPlacement)
2828
deprecatedProperty('Tooltip', placement, `Value '${placement}' for placement`, mappedPlacement);
2929
return mappedPlacement ?? (placement as Placement);
30-
};
30+
};

src/docs/PropsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const PropsTable: React.FC<PropsTableProps> = ({ props: componentProps }:
3232
{prop.name}
3333
</Text>
3434
</TableCell>
35-
<TableCell>
35+
<TableCell style={{ whiteSpace: 'normal' }}>
3636
<Text fontSize="inherit" fontFamily="monospace" as="p">
3737
{prop.type}
3838
</Text>

0 commit comments

Comments
 (0)