Create Poll
The Create Poll screen facilitates the seamless collection of user inputs such as the poll question, options, poll ending date and time, and other details. And the screen doesn't require any parameters, allowing for direct utilization.
Code snippet
import { CreatePollScreen } 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 name={"CreatePollScreen"} component={CreatePollScreen} />
</Stack.Navigator>
</NavigationContainer>
);