// @flow
import React, { type ComponentType } from 'react';
import { PropDefinitions } from './prop-definitions.component';

export const FlowPropsTable = ({
  ofComponent,
}: {
  ofComponent?: ComponentType<*>,
}) => {
  const Table = PropDefinitions(ofComponent);
  return <Table />;
};
