Skip to content

Commit 856218d

Browse files
committed
fix(ui-text): fixed an issue where letterSpacingNormal theme variable previously showed an error because its value was 0
1 parent 93f129b commit 856218d

File tree

1 file changed

+1
-1
lines changed
  • packages/__docs__/src/ComponentTheme

1 file changed

+1
-1
lines changed

packages/__docs__/src/ComponentTheme/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ComponentTheme extends Component<ComponentThemeProps> {
4242
value: undefined | string | object | number,
4343
colorPrimitives: object
4444
) {
45-
if (!value) {
45+
if (!value && value !== 0) {
4646
return <code>ERROR - possible bug</code>
4747
}
4848
if (typeof value === 'object') {

0 commit comments

Comments
 (0)