We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
title
1 parent 7b1ef61 commit d7449e2Copy full SHA for d7449e2
src/scripts/Text.tsx
@@ -29,7 +29,7 @@ export const Text: FC<TextProps> = ({
29
}) => {
30
const textClassNames = classnames(
31
type && category ? `slds-text-${category}_${type}` : undefined,
32
- category && !type ? `slds-text-${category}` : undefined,
+ category === 'title' && !type ? `slds-text-${category}` : undefined,
33
align ? `slds-text-align_${align}` : undefined,
34
{
35
'slds-truncate': truncate,
0 commit comments