mapContent

inline fun <T, R> StylishContentState<T>.mapContent(transform: (T) -> R): StylishContentState<R>

Maps only the content branch while preserving the state contract.