toProps