New
v1.4.0
What's Changed
- Move PageCurlConfig to PageCurl argument.
- Update compose to 2023.09.00.
API Changes
- Instead of passing custom
PageCurlConfiginstance to therememberPageCurlState, it must be passed to thePageCurlcomposable. See #18 for the reasoning. - Migration is quite simple:
Pre-v1.4.0
val state = rememberPageCurlState(
config = rememberPageCurlConfig()
)
PageCurl(
count = 42,
state = state,
) { ... }
Post-v1.4.0
val state = rememberPageCurlState()
val config = rememberPageCurlConfig()
PageCurl(
count = 42,
state = state,
config = config,
) { ... }
Full Changelog: https://github.com/oleksandrbalan/pagecurl/compare/v1.3.0...v1.4.0