commonMain.epicarchitect.calendar.compose.pager.config.ImmutableConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of epic-calendar-compose Show documentation
Show all versions of epic-calendar-compose Show documentation
Compose Multiplatform library for displaying epic calendars
The newest version!
package epicarchitect.calendar.compose.pager.config
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.remember
import epicarchitect.calendar.compose.basis.config.BasisEpicCalendarConfig
@Immutable
data class ImmutableEpicCalendarPagerConfig(
override val basisConfig: BasisEpicCalendarConfig
) : EpicCalendarPagerConfig
@Composable
fun rememberEpicCalendarPagerConfig(
basisConfig: BasisEpicCalendarConfig = LocalEpicCalendarPagerConfig.current.basisConfig
): EpicCalendarPagerConfig = remember(basisConfig) {
ImmutableEpicCalendarPagerConfig(basisConfig)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy