// @flow
import React, { type ComponentType } from 'react';
import { PropDefinitions } from '../../.storybook/config-docs';

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