UNPKG

react-custom-roulette-rtl

Version:

Customizable React roulette wheel with spinning animation RTL

31 lines (30 loc) 709 B
/// <reference types="react" /> interface ImagePropsLocal extends ImageProps { _imageHTML?: HTMLImageElement; } export interface WheelData { image?: ImagePropsLocal; option?: string; style?: StyleType; optionSize?: number; } export interface StyleType { backgroundColor?: string; textColor?: string; fontFamily?: string; fontSize?: number; fontWeight?: number | string; fontStyle?: string; } export interface PointerProps { src?: string; style?: React.CSSProperties; } export interface ImageProps { uri: string; offsetX?: number; offsetY?: number; sizeMultiplier?: number; landscape?: boolean; } export {};