
Style controls for an Image component
Params
An array of style properties that can be visually edited. These values include:
Style.Width
Style.Margin
Style.Padding
Style.Border
Style.BorderRadius
Style.TextStyle
Style.Default
which is equivalent to[Style.Width, Style.Margin]
Style.All
which includes all properties.
Example
The following example adds a Style control to theclassName
prop of an Image component.
.makeswift.ts
is a naming convention for organizing Makeswift registration
code. Learn
more.