LayoutProps
Defined in: ui/src/types.ts:102
Common layout props every element can accept (applied to its Yoga node).
Extended by
Section titled “Extended by”UITextPropsUIButtonPropsUIImagePropsUINineSlicePropsUIProgressBarPropsUICheckboxPropsPanelPropsPixiFancyButtonPropsPixiCheckboxPropsPixiProgressBarPropsPixiSliderPropsPixiInputPropsPixiScrollBoxPropsPixiSelectPropsPixiRadioGroupProps
Properties
Section titled “Properties”alignSelf?
Section titled “alignSelf?”
optionalalignSelf?:"stretch"|"auto"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:115
flexBasis?
Section titled “flexBasis?”
optionalflexBasis?:LayoutValue
Defined in: ui/src/types.ts:114
flexGrow?
Section titled “flexGrow?”
optionalflexGrow?:number
Defined in: ui/src/types.ts:112
flexShrink?
Section titled “flexShrink?”
optionalflexShrink?:number
Defined in: ui/src/types.ts:113
height?
Section titled “height?”
optionalheight?:LayoutValue
Defined in: ui/src/types.ts:104
margin?
Section titled “margin?”
optionalmargin?:number| {bottom?:number;left?:number;right?:number;top?:number; }
Defined in: ui/src/types.ts:109
maxHeight?
Section titled “maxHeight?”
optionalmaxHeight?:LayoutValue
Defined in: ui/src/types.ts:108
maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:LayoutValue
Defined in: ui/src/types.ts:106
minHeight?
Section titled “minHeight?”
optionalminHeight?:LayoutValue
Defined in: ui/src/types.ts:107
minWidth?
Section titled “minWidth?”
optionalminWidth?:LayoutValue
Defined in: ui/src/types.ts:105
visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: ui/src/types.ts:122
width?
Section titled “width?”
optionalwidth?:LayoutValue
Defined in: ui/src/types.ts:103