Dividers are components used to add space or any other separator between other components.
Divider has no specific (custom) Props, however, it supports every prop that the standard React Native
View component supports. For full list of available props, visit
React Native View component documentation.
Divider(thin line), instead of standard (rectangle)
linestyle name, and sets the width to 55 px
linestyle name, and centers the line within parent container
<Divider styleName="line" />
Section dividers are usually used in lists to separate groups of similar list items, for example to group contacts by the first letter of their name. ListView will automatically style all dividers added to it.
<Divider styleName="section-header" />
<Divider styleName="section-header"> <Caption>INFORMATION</Caption> </Divider>
<Divider styleName="section-header"> <Caption>PRODUCT NAME</Caption> <Caption>PRICE</Caption> </Divider>