Skip to content

Commit 26b1a28

Browse files
authored
Merge pull request #166 from shinnqy/fix-pivot
fix(PivotItem): onRenderItemLink cannot pass to office-ui-fabric-react
2 parents fc5a748 + 0d58c3e commit 26b1a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/fabric/src/lib/components/pivot/pivot.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class FabPivotItemComponent extends ReactWrapperComponent<IPivotItemProps
6363

6464
@Input() @passProp() renderItemLink?: InputRendererOptions<IPivotItemProps>;
6565

66-
onRenderItemLink: (props?: IPivotItemProps, defaultRender?: JsxRenderFunc<IPivotItemProps>) => JSX.Element;
66+
@passProp() onRenderItemLink: (props?: IPivotItemProps, defaultRender?: JsxRenderFunc<IPivotItemProps>) => JSX.Element;
6767

6868
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, renderer: Renderer2, ngZone: NgZone) {
6969
super(elementRef, changeDetectorRef, renderer, { ngZone, setHostDisplay: true });

0 commit comments

Comments
 (0)