chore: format

This commit is contained in:
Nathan Walker
2020-07-05 14:57:06 -07:00
parent 8f2900ad0b
commit da3c0b973d
379 changed files with 71587 additions and 54582 deletions

View File

@@ -5,13 +5,21 @@ import { Property, makeParser, makeValidator } from "../../core/properties";
import { isIOS } from "../../../platform";
@CSSType("StackLayout")
export class StackLayoutBase extends LayoutBase implements StackLayoutDefinition {
public orientation: Orientation;
export class StackLayoutBase extends LayoutBase
implements StackLayoutDefinition {
public orientation: Orientation;
}
StackLayoutBase.prototype.recycleNativeView = "auto";
const converter = makeParser<Orientation>(makeValidator("horizontal", "vertical"));
const converter = makeParser<Orientation>(
makeValidator("horizontal", "vertical")
);
export const orientationProperty = new Property<StackLayoutBase, Orientation>({ name: "orientation", defaultValue: "vertical", affectsLayout: isIOS, valueConverter: converter });
export const orientationProperty = new Property<StackLayoutBase, Orientation>({
name: "orientation",
defaultValue: "vertical",
affectsLayout: isIOS,
valueConverter: converter,
});
orientationProperty.register(StackLayoutBase);