@symfony/ux-react
Version:
Integration of React in Symfony
10 lines (7 loc) • 304 B
TypeScript
import { FunctionComponent, ComponentClass } from 'react';
type Component = string | FunctionComponent<object> | ComponentClass<object, any>;
interface ComponentCollection {
[key: string]: Component;
}
declare const components: ComponentCollection;
export { type ComponentCollection, components };