-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[개선] 분리한 컴포넌트 preview 작성 #329
The head ref may contain hidden characters: "feature/#308-\uBD84\uB9AC\uD55C-\uCEF4\uD3EC\uB10C\uD2B8-Preview-\uC791\uC131"
[개선] 분리한 컴포넌트 preview 작성 #329
Conversation
Test Results20 tests 20 ✅ 19s ⏱️ Results for commit 160d21a. |
@@ -58,3 +63,45 @@ internal fun EditModeLeadingItem( | |||
) | |||
} | |||
} | |||
|
|||
private val SampleBookmarkItemUiState = BookmarkItemUiState( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
참고로 이런 경우는 사용하시면 됩니다.
https://developer.android.com/develop/ui/compose/tooling/previews#preview-data
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
감사합니다
PreviewParameterProvider
를 사용하면 샘플 데이터를 따로 관리할 수 있었겠네요 🤔
Issue
Overview (Required)
PR 쪼개기 마지막입니다..!
Screenshot