react-native-story-widget
Version:
A React Native story widget component with carousel functionality
14 lines (13 loc) • 418 B
TypeScript
import type React from 'react';
import type { IStory, StoriesType } from '../../types';
interface StoryProps {
children: React.ReactNode;
stories: IStory[];
storyHeader: StoriesType;
onStoryMarkedAsViewed?: (storyId: string) => void;
isStoryActive: boolean;
initialStoryIndex: number;
onStoryStart?: (storyId: string) => void;
}
declare const Story: React.FC<StoryProps>;
export { Story };