Skip to content

Commit d4db17d

Browse files
authored
docs: fix remToDp matcher type in documentation (#1414)
1 parent 737a02b commit d4db17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/content/docs/reference/Hooks/Transforms/predefined.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Transforms the value from a REM size on web into a scale-independent pixel (sp)
415415
Transforms the value from a REM size on web into a density-independent pixel (dp) value for font sizes in Compose. It WILL scale the number by a factor of 16 (or the value of `basePxFontSize` on the platform in your config).
416416

417417
```kotlin
418-
// Matches: token.type === 'fontSize'
418+
// Matches: token.type === 'dimension'
419419
// Returns:
420420
"16.0.dp"
421421
```

0 commit comments

Comments
 (0)