Sort renderProp API
This commit is contained in:
Родитель
e54c43689b
Коммит
a4b9bd5a08
|
@ -5,6 +5,8 @@
|
|||
"Packagr",
|
||||
"Renderable",
|
||||
"nrwl",
|
||||
"renderprop",
|
||||
"uifabric",
|
||||
"unmount",
|
||||
"whitelisted"
|
||||
]
|
||||
|
|
|
@ -2,4 +2,3 @@ export { AngularReactBrowserModule } from './src/angular-react-browser.module';
|
|||
export * from './src/components/wrapper-component';
|
||||
export { ReactContent } from './src/renderer/react-content';
|
||||
export { registerElement } from './src/renderer/registry';
|
||||
export * from './src/utils/render/render-function';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, TemplateRef, Type } from "@angular/core";
|
||||
import { assertNever } from "@uifabric/utilities";
|
||||
import { isReactNode } from "../renderer/react-node";
|
||||
import { renderComponent, renderFunc, renderTemplate } from "../utils/render/render-function";
|
||||
import { renderComponent, renderFunc, renderTemplate } from "../renderer/renderprop-helpers";
|
||||
|
||||
const blacklistedAttributesAsProps = [
|
||||
'class',
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { ComponentRef, TemplateRef } from "@angular/core";
|
||||
import * as React from 'react';
|
||||
import { CHILDREN_TO_APPEND_PROP, ReactContent } from "../../renderer/react-content";
|
||||
|
||||
import { CHILDREN_TO_APPEND_PROP, ReactContent } from "../renderer/react-content";
|
||||
|
||||
function renderReactContent(rootNodes: HTMLElement[]): JSX.Element {
|
||||
return React.createElement(
|
Загрузка…
Ссылка в новой задаче