@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.FUNCTION])
@Preview(name = "Phone", device = "spec:width=411dp,height=891dp", showSystemUi = true)
@Preview(name = "Phone - Landscape", device = "spec:width=411dp,height=891dp,orientation=landscape,dpi=420", showSystemUi = true)
@Preview(name = "Unfolded Foldable", device = "spec:width=673dp,height=841dp", showSystemUi = true)
@Preview(name = "Tablet", device = "spec:width=1280dp,height=800dp,dpi=240", showSystemUi = true)
@Preview(name = "Desktop", device = "spec:width=1920dp,height=1080dp,dpi=160", showSystemUi = true)
annotation PreviewScreenSizes

여러가지 사이즈로 preview를 볼 수 있음. @PreviewScreenSizes 비슷한 걸 내가 직접 만들어서 사용해도 될 듯.

docs: https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/preview/PreviewScreenSizes