message: Add support for EmbeddedComponent to take a ReactElement directly
diff: @@ -13,10 +13,10 @@ export interface IEmbeddedComponentProps {
  }
  /**
  - * Will render a component via react if the component supports IComponentReactViewable
  - * or standard HTML if the component supports IComponentHTMLView
  + * Abstracts rendering of components as a React component. Supports React elements, as well as
  + * components that implement IComponentReactViewable, IComponentHTMLView, or IComponentHTMLVisual.
  *
  - * If the component supports neither interface we render an empty <span />
  + * If the component is none of these, we render an empty <span />
  */
  export class EmbeddedComponent extends React.Component<IEmbeddedComponentProps> {
  private readonly element: JSX.Element;
  @@ -24,6 +24,11 @@ export class EmbeddedComponent extends React.Component<IEmbeddedComponentProps>
  constructor(props: IEmbeddedComponentProps) {
  super(props);
  + if (React.isValidElement(this.props.component)) {
  + this.element = this.props.component;
  + return;
  + }
  +
  const reactViewable = this.props.component.IComponentReactViewable;
  if (reactViewable) {
  this.element = <ReactEmbeddedComponent component={reactViewable}/>;
  