Section
Section<
T>(__namedParameters):Element
Type Parameters
• T
Parameters
| Parameter | Type | Description |
|---|---|---|
__namedParameters | ListProps | Properties to configure the list. |
Example
<List>
<Section header="Cool Header">
<Text>Hello!</Text>
</Section>
</List>Props
| prop | description | type | required | default |
|---|---|---|---|---|
children | List content | ReactNode | no | null |
header | Section header | string | no | undefined |
footer | Section footer | string | no | undefined |
List inherits all View Modifiers as props.
Returns
| Type | Description |
|---|---|
Element | React element created by the Section function. |
Source
| File | Line |
|---|---|
| Section/Section.tsx | 11 |