mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
feat(core): CSS wide keywords (#10709)
This commit is contained in:

committed by
GitHub

parent
5024156f0d
commit
2d71ada46d
@ -2,6 +2,7 @@ import { LayoutBase } from '../layout-base';
|
||||
import { Style } from '../../styling/style';
|
||||
import { CssProperty } from '../../core/properties';
|
||||
import { View } from '../../core/view';
|
||||
import { CoreTypes } from '../../enums';
|
||||
|
||||
export type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
||||
export type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
||||
@ -9,7 +10,7 @@ export type JustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-betwe
|
||||
export type AlignItems = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
||||
export type AlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'stretch';
|
||||
export type FlexFlow = `${FlexDirection} ${FlexWrap}`;
|
||||
export type Flex = number | 'initial' | 'auto' | 'none' | `${FlexGrow} ${FlexShrink}`;
|
||||
export type Flex = number | 'auto' | 'none' | `${FlexGrow} ${FlexShrink}` | CoreTypes.CSSWideKeywords;
|
||||
|
||||
/**
|
||||
* A flex order integer.
|
||||
|
Reference in New Issue
Block a user