You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A component used to render a list of answers that a `Poll` has. The results will be paginated and only one answer per user is allowed. Needs to be structured inside a [`Channel` component](../core-components/channel).
10
+
11
+
It will render its default `PollAnswersListContent`, which can be overridden for custom UI. Its children have access to the entire `poll` state through the `usePollState` hook.
12
+
13
+
## Props
14
+
15
+
### <divclass="label description">_forwarded from [MessageContext](../../contexts/message-context#message)_ props</div> message {#message}
16
+
17
+
<MessageProp />
18
+
19
+
### `poll` *
20
+
21
+
<Poll />
22
+
23
+
### `additionalFlatListProps`
24
+
25
+
A prop used to override the underlying [`FlatList`](https://reactnative.dev/docs/flatlist#props) props of the `PollAnswersList`.
A component used to render a list of all of the votes per option that a `Poll` has. Each option will display the 5 most recent votes. If an option has more than 5 votes it will add a button at the bottom that opens the [`PollOptionFullResults`](./poll-option-full-results.mdx) Modal. Needs to be structured inside a [`Channel` component](../core-components/channel).
10
+
11
+
It will render its default `PollResultsContent`, which can be overridden for custom UI. Its children have access to the entire `poll` state through the `usePollState` hook.
12
+
13
+
## Props
14
+
15
+
### <divclass="label description">_forwarded from [MessageContext](../../contexts/message-context#message)_ props</div> message {#message}
16
+
17
+
<MessageProp />
18
+
19
+
### `poll` *
20
+
21
+
<Poll />
22
+
23
+
### `additionalScrollViewProps`
24
+
25
+
A prop used to override the underlying [`ScrollView`](https://reactnative.dev/docs/scrollview#props) props of the `PollResults`.
0 commit comments