StoryCard

fun StoryCard(modifier: Modifier = Modifier, title: String, textColor: Color = Color.Black, circleImage: Int, iconMainUrl: String = String.empty(), iconMainResource: Int = 0, navigateToScreen: () -> Unit)

Author: @Jeluchu

This component displays the same design as Facebook stories

Parameters

modifier

modifier that will be used to added animations (for example)

title

text to be displayed on the chip

textColor

color of title

circleImage

link of the image you want to be displayed as an icon on top storie

iconMainUrl

link of the image you want to be displayed as an image

iconMainResource

drawable id of the resource you want to be displayed as an image

navigateToScreen

action to be performed after pressing