chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-06 21:10:18 -07:00
parent f6c7fdad0c
commit 49cd2f0df3
10 changed files with 113 additions and 55 deletions

View File

@@ -0,0 +1,7 @@
import { View, CustomLayoutView, AddChildFromBuilder } from '../core/view';
export declare class ContentView extends CustomLayoutView implements AddChildFromBuilder {
content: View;
layoutView(): View;
_addChildFromBuilder(name: string, value: any): void;
}

View File

@@ -1,13 +1,12 @@
import { View, CustomLayoutView, AddChildFromBuilder } from '../core/view';
import { layout } from '../../utils';
import { isIOS } from '../../platform';
import { ContentView as ContentViewDefinition } from '.';
/**
* Represents a View that has a single child - content.
* The View itself does not have visual representation and serves as a placeholder for its content in the logical tree.
*/
export class ContentView extends CustomLayoutView implements ContentViewDefinition, AddChildFromBuilder {
export class ContentView extends CustomLayoutView implements AddChildFromBuilder {
private _content: View;
/**