Skip to main content

Poll Result

The Poll Result screen is designed to present the poll outcomes, providing a comprehensive display of the vote counts for each option, accompanied by user details associated with their respective choices. And the screen doesn't require any parameters, allowing for direct utilization.

Code snippet

import { PollResult } from "@likeminds.community/chat-rn-core";
import { NavigationContainer } from "@react-navigation/native";
return (
// replace NavigationContainer with your navigation container
<NavigationContainer independent={true}>
<Stack.Navigator>
<Stack.Screen
options={{ gestureEnabled: false }}
name={"PollResult"}
component={PollResult}
/>
;
</Stack.Navigator>
</NavigationContainer>
);