|
|
|
@ -256,7 +256,7 @@ fun NewsResourceTopics(
|
|
|
|
|
|
|
|
|
|
@Preview("Bookmark Button")
|
|
|
|
|
@Composable
|
|
|
|
|
fun BookmarkButtonPreview() {
|
|
|
|
|
private fun BookmarkButtonPreview() {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
Surface {
|
|
|
|
|
BookmarkButton(isBookmarked = false, onClick = { })
|
|
|
|
@ -266,7 +266,7 @@ fun BookmarkButtonPreview() {
|
|
|
|
|
|
|
|
|
|
@Preview("Bookmark Button Bookmarked")
|
|
|
|
|
@Composable
|
|
|
|
|
fun BookmarkButtonBookmarkedPreview() {
|
|
|
|
|
private fun BookmarkButtonBookmarkedPreview() {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
Surface {
|
|
|
|
|
BookmarkButton(isBookmarked = true, onClick = { })
|
|
|
|
@ -276,7 +276,7 @@ fun BookmarkButtonBookmarkedPreview() {
|
|
|
|
|
|
|
|
|
|
@Preview("NewsResourceCardExpanded")
|
|
|
|
|
@Composable
|
|
|
|
|
fun ExpandedNewsResourcePreview() {
|
|
|
|
|
private fun ExpandedNewsResourcePreview() {
|
|
|
|
|
NiaTheme {
|
|
|
|
|
Surface {
|
|
|
|
|
NewsResourceCardExpanded(
|
|
|
|
|