Use JSX spread operator to avoid non-JSX

Use the jsx spread (`{...props}`) operator to avoid the cases where
we're using non-jsx component initialization.