commonMain.epicarchitect.calendar.compose.pager.config.MutableConfig.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.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import epicarchitect.calendar.compose.basis.config.BasisEpicCalendarConfig
class MutableEpicCalendarPagerConfig(
basisConfig: BasisEpicCalendarConfig
) : EpicCalendarPagerConfig {
override var basisConfig by mutableStateOf(basisConfig)
}
@Composable
fun rememberMutableEpicCalendarPagerConfig(
basisConfig: BasisEpicCalendarConfig = LocalEpicCalendarPagerConfig.current.basisConfig
): MutableEpicCalendarPagerConfig = remember(basisConfig) {
MutableEpicCalendarPagerConfig(basisConfig)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy