Skip to content

Commit

Permalink
Fix link to multipreview annotations in docs (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikghonyan authored Oct 2, 2024
1 parent e1b44e3 commit 21e2260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Related rule: [`SlotReused`](/~https://github.com/slackhq/compose-lints/blob/main/

Multipreview annotations should be named by using `Previews` as suffix (or `Preview` if just one). These annotations have to be explicitly named to make sure that they are clearly identifiable as a `@Preview` alternative on its usages.

More information: [Multipreview annotations](https://developer.android.com/jetpack/compose/tooling#preview-multipreview)
More information: [Multipreview annotations](https://developer.android.com/develop/ui/compose/tooling/previews#preview-multiple)

Related rule: [`ComposePreviewNaming`](/~https://github.com/slackhq/compose-lints/blob/main/compose-lint-checks/src/main/java/slack/lint/compose/PreviewNamingDetector.kt)

Expand Down

0 comments on commit 21e2260

Please sign in to comment.