Skip to content

Commit dd374ad

Browse files
committed
chore: cleanup
1 parent f07d497 commit dd374ad

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/core/cssproperties.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Color, CssProperty, InheritedCssProperty, Length, Style, makeParser, makeValidator } from '@nativescript/core';
2-
import { VerticalTextAlignment } from '.';
32

43
function createGetter(key) {
54
return function() {
@@ -48,12 +47,3 @@ export const variantProperty = new CssProperty<Style, string>({
4847
cssName: 'variant'
4948
});
5049
variantProperty.register(Style);
51-
52-
const textAlignmentConverter = makeParser<VerticalTextAlignment>(makeValidator<VerticalTextAlignment>('initial', 'top', 'middle', 'bottom'));
53-
export const verticalTextAlignmentProperty = new InheritedCssProperty<Style, VerticalTextAlignment>({
54-
name: 'verticalTextAlignment',
55-
cssName: 'vertical-text-align',
56-
defaultValue: 'initial',
57-
valueConverter: textAlignmentConverter
58-
});
59-
verticalTextAlignmentProperty.register(Style);

src/core/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export function install();
3232
export function installMixins();
3333
export function getRippleColor(color: string | Color): any;
3434

35-
export type VerticalTextAlignment = 'initial' | 'top' | 'middle' | 'bottom';
3635

3736
type Constructor<T = {}> = new (...args: any[]) => T;
3837
export function mixin<T1 extends Constructor, T2 extends Constructor>(mix1: T1, mix2: T2): (new (...args: any[]) => InstanceType<T1> & InstanceType<T2>) & T1 & T2;

0 commit comments

Comments
 (0)