From f112711779feea4c415767c078d095b18e5a54a5 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Fri, 3 Mar 2017 17:10:20 +0100 Subject: [PATCH] fix(split-pane): it is a directive --- src/components/split-pane/split-pane.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/split-pane/split-pane.ts b/src/components/split-pane/split-pane.ts index 5d3e6db5dbb..c9ef7dbeb68 100644 --- a/src/components/split-pane/split-pane.ts +++ b/src/components/split-pane/split-pane.ts @@ -1,4 +1,4 @@ -import { ContentChildren, Component, ElementRef, EventEmitter, forwardRef, Input, Optional, Output, QueryList, NgZone, Renderer } from '@angular/core'; +import { ContentChildren, Directive, ElementRef, EventEmitter, forwardRef, Input, Optional, Output, QueryList, NgZone, Renderer } from '@angular/core'; import { Ion } from '../ion'; import { assert } from '../../util/util'; import { Config } from '../../config/config'; @@ -25,9 +25,8 @@ export abstract class RootNode { /** * @name SplitPane */ -@Component({ +@Directive({ selector: 'ion-split-pane', - template: '', providers: [{provide: RootNode, useExisting: forwardRef(() => SplitPane) }] }) export class SplitPane extends Ion implements RootNode {