API > GradientFieldType
Type alias: GradientFieldType
GradientFieldType:
BaseField
& {default
: {color
:GradientColorType
[];side_or_corner
: {horizontalSide
:"LEFT"
|"RIGHT"
;verticalSide
:"TOP"
|"BOTTOM"
; }; };type
:"gradient"
; }
GradientFieldType.default
default?:
object
default.color
color?:
GradientColorType
[]
default.side_or_corner
side_or_corner?:
object
side\_or\_corner.horizontalSide
horizontalSide?:
"LEFT"
|"RIGHT"
side\_or\_corner.verticalSide
verticalSide?:
"TOP"
|"BOTTOM"
GradientFieldType.type
type:
"gradient"
Source
fieldTypes.ts:269