mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup reexports
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { Label as LabelDefinition } from ".";
|
||||
import { TextBase, WhiteSpace, whiteSpaceProperty, booleanConverter, CSSType } from "../text-base";
|
||||
import { TextBase, WhiteSpace, whiteSpaceProperty } from "../text-base";
|
||||
import { profile } from "../../profiling";
|
||||
import { CSSType } from "../core/view";
|
||||
import { booleanConverter } from "../core/view-base";
|
||||
|
||||
export * from "../text-base";
|
||||
|
||||
@@ -22,7 +24,7 @@ export class Label extends TextBase implements LabelDefinition {
|
||||
this.style.whiteSpace = value ? "normal" : "nowrap";
|
||||
}
|
||||
|
||||
@profile
|
||||
@profile()
|
||||
public createNativeView() {
|
||||
if (!TextView) {
|
||||
TextView = android.widget.TextView;
|
||||
@@ -1,16 +1,13 @@
|
||||
import { Label as LabelDefinition } from ".";
|
||||
import { Background } from "../styling/background";
|
||||
import {
|
||||
TextBase, View, layout,
|
||||
borderTopWidthProperty, borderRightWidthProperty, borderBottomWidthProperty, borderLeftWidthProperty,
|
||||
paddingTopProperty, paddingRightProperty, paddingBottomProperty, paddingLeftProperty, whiteSpaceProperty,
|
||||
Length, WhiteSpace, booleanConverter, CSSType
|
||||
} from "../text-base";
|
||||
import { Length, borderTopWidthProperty, borderRightWidthProperty, borderBottomWidthProperty, borderLeftWidthProperty, paddingTopProperty, paddingRightProperty, paddingBottomProperty, paddingLeftProperty } from "../styling/style-properties";
|
||||
import { booleanConverter } from "../core/view-base";
|
||||
import { View, CSSType } from "../core/view";
|
||||
import { TextBase, whiteSpaceProperty, WhiteSpace } from "../text-base";
|
||||
import { layout } from "../../utils/utils";
|
||||
|
||||
import { ios } from "../styling/background";
|
||||
|
||||
export * from "../text-base";
|
||||
|
||||
enum FixedSize {
|
||||
NONE = 0,
|
||||
WIDTH = 1,
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "label",
|
||||
"main": "label",
|
||||
"types": "label.d.ts"
|
||||
}
|
||||
Reference in New Issue
Block a user