react-native-spotlight-guide
Version:
A modern, customizable and high-performance spotlight/walkthrough library for React Native with TypeScript support
24 lines (22 loc) • 563 B
text/typescript
export interface SpotlightGuideProps {
// Spotlight yapılandırma seçenekleri
steps: SpotlightStep[];
isVisible: boolean;
onFinish: () => void;
onSkip?: () => void;
overlayColor?: string;
overlayOpacity?: number;
spotlightPadding?: number;
}
export interface SpotlightStep {
target: any; // React ref
title?: string;
description: string;
shape?: "rectangle" | "circle" | "square";
spotlightStyles?: any;
contentStyles?: any;
buttonStyles?: any;
nextButtonText?: string;
prevButtonText?: string;
finishButtonText?: string;
}