List
List<
T>(__namedParameters):Element
Type Parameters
• T
Parameters
| Parameter | Type | Description |
|---|---|---|
__namedParameters | ListProps | Properties to configure the list. |
Example
<List>
<Text>Hello!</Text>
</List>Props
| prop | description | type | required | default |
|---|---|---|---|---|
children | List content | ReactNode | no | null |
listStyle | List Style | string | no | grouped |
List inherits all View Modifiers as props.
Returns
| Type | Description |
|---|---|
Element | React element rendered by the List component. |
Source
| File | Line |
|---|---|
| List/List.tsx | 11 |