use component/props

Use of component/props for logical expressions ( issue https://github.com/component/to-function/issues/7 )