@drieam/common
Version:
Default Drieam api wrapper
13 lines (12 loc) • 369 B
TypeScript
/**
* get attributes of a DOM element
*/
declare function getAttributes(element: Element): any;
declare type Elements = Element | HTMLCollectionOf<Element>;
/**
* Render a React Container in the specific element
* @param Container
* @param element
*/
declare function render(Container: any, element: Elements): void;
export { render, getAttributes };