You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
291 B

package example.todo.common.main.integration
import example.todo.common.main.TodoMain.Model
import example.todo.common.main.store.TodoMainStore.State
internal val stateToModel: (State) -> Model =
{
Model(
items = it.items,
text = it.text
)
}