Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion __tests__/__snapshots__/Type.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exports[`Type should render Type with default values 1`] = `
exports[`Type should render Type with large size, bold weight and inverse option 1`] = `
<div>
<div
class="type type--large type--weight type--inverse"
class="type type--large type--bold type--inverse"
>
Lorem ipsum dolor sit
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const Type = ({
'type',
className,
size && `type--${size}`,
weight && 'type--weight',
weight && `type--${weight}`,
inverse && 'type--inverse'
)}
>
Expand Down