Use react.createElement in example in basic/