Optional
bottomA distance from the bottom.
Example:
<bottom={20} />
Optional
displayChanges the element exhibition
Example:
<display="flex"/>
Optional
heightAdjust component height
Example:
<height={100} />
Optional
id"Fills the ID of the element (not very practical)."
Example:
<View id="id" />
Optional
leftA distance from the left.
Example:
<left={20} />
Optional
maxAdjust component maximum height
Example:
<maxHeight={100} />
Optional
maxAdjust component maximum width
Example:
<maxwidth={100} />
Optional
minAdjust component minimum height
Example:
<minHeight={100} />
Optional
minAdjust component minimum width
Example:
<minWidth={100} />
Optional
opacityChanges the element opacity
Example:
<opacity="light" />
The progress in percentage. Example:
<ProgressBar percentage={10}/>
The progress will occupy 10% of the space.
Optional
positionThe element positioning.
Example:
<position="relative" />
Optional
progressThe text to be displayed in the center of the progress bar. Example:
<ProgressBar progressText="loading..."/>
Optional
rightA distance from the right.
Example:
<right={20} />
Optional
topA distance from the top.
Example:
<top={20} />
Optional
transform"Prepare a position transforming of element"
Example:
<View transform="rotate(45deg)" />
Optional
transition"Prepare a transition of visual state change"
Example:
<View transition="background-color 0.5s ease-in-out" />
Optional
visibilityChanges the element visibility
Example:
<visibility="visible" />
Optional
visual"Determines the visual state of the component and its children."
Example:
<View visualState="success" />
Optional
widthAdjust component width
Example:
<width={100} />
Optional
zValue of z-index
Example:
<zIndex={1} />
Accepted values for sizing elements.
See below for an example using some of the properties:
Example: