import React , { FC } from 'react' ; import { PropsTable as PropsTableView } from '@sberdevices/plasma-docs-ui' ; import { useDynamicImport } from '../hooks' ; export const PropsTable = ( { name , exclude } ) => { const { props } = useDynamicImport ( '@docgen' , name ) ; if ( ! props ) { return null ; } return < PropsTableView props = { props } exclude = { exclude } / > ; } ;