UIButtonProps
Defined in: ui/src/types.ts:158
Props for UIButton (used by reconciler and props-driven constructor).
Extends
Section titled “Extends”Properties
Section titled “Properties”alignSelf?
Section titled “alignSelf?”
optionalalignSelf?:"stretch"|"auto"|"flex-start"|"center"|"flex-end"|"baseline"
Defined in: ui/src/types.ts:115
Inherited from
Section titled “Inherited from”background?
Section titled “background?”
optionalbackground?:BackgroundOptions
Defined in: ui/src/types.ts:161
children?
Section titled “children?”
optionalchildren?:string
Defined in: ui/src/types.ts:159
disabled?
Section titled “disabled?”
optionaldisabled?:boolean
Defined in: ui/src/types.ts:165
flexBasis?
Section titled “flexBasis?”
optionalflexBasis?:LayoutValue
Defined in: ui/src/types.ts:114
Inherited from
Section titled “Inherited from”flexGrow?
Section titled “flexGrow?”
optionalflexGrow?:number
Defined in: ui/src/types.ts:112
Inherited from
Section titled “Inherited from”flexShrink?
Section titled “flexShrink?”
optionalflexShrink?:number
Defined in: ui/src/types.ts:113
Inherited from
Section titled “Inherited from”height?
Section titled “height?”
optionalheight?:LayoutValue
Defined in: ui/src/types.ts:104
Inherited from
Section titled “Inherited from”hoverBackground?
Section titled “hoverBackground?”
optionalhoverBackground?:BackgroundOptions
Defined in: ui/src/types.ts:162
margin?
Section titled “margin?”
optionalmargin?:number| {bottom?:number;left?:number;right?:number;top?:number; }
Defined in: ui/src/types.ts:109
Inherited from
Section titled “Inherited from”maxHeight?
Section titled “maxHeight?”
optionalmaxHeight?:LayoutValue
Defined in: ui/src/types.ts:108
Inherited from
Section titled “Inherited from”maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:LayoutValue
Defined in: ui/src/types.ts:106
Inherited from
Section titled “Inherited from”minHeight?
Section titled “minHeight?”
optionalminHeight?:LayoutValue
Defined in: ui/src/types.ts:107
Inherited from
Section titled “Inherited from”minWidth?
Section titled “minWidth?”
optionalminWidth?:LayoutValue
Defined in: ui/src/types.ts:105
Inherited from
Section titled “Inherited from”onClick?
Section titled “onClick?”
optionalonClick?: () =>void
Defined in: ui/src/types.ts:160
Returns
Section titled “Returns”void
pressBackground?
Section titled “pressBackground?”
optionalpressBackground?:BackgroundOptions
Defined in: ui/src/types.ts:163
textStyle?
Section titled “textStyle?”
optionaltextStyle?:Partial<TextStyleOptions>
Defined in: ui/src/types.ts:164
visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: ui/src/types.ts:122
Inherited from
Section titled “Inherited from”width?
Section titled “width?”
optionalwidth?:LayoutValue
Defined in: ui/src/types.ts:103