@react-native-assets/slider
Version:
Lightweight slider for React-Native and React-Native-Web. A Range slider is included
21 lines (20 loc) • 656 B
TypeScript
import React from 'react';
import * as RN from 'react-native';
type Props = {
style: RN.StyleProp<RN.ViewStyle>;
color: RN.ColorValue;
vertical: boolean;
thickness: number;
length: number;
track: 'min' | 'mid' | 'max';
CustomTrack?: React.ComponentType<{
length: number;
thickness: number;
vertical: boolean;
track: 'min' | 'mid' | 'max';
style: RN.StyleProp<RN.ViewStyle>;
color: RN.ColorValue;
}>;
};
declare const _default: React.MemoExoticComponent<({ style, thickness, length, vertical, color, CustomTrack, track }: Props) => React.JSX.Element>;
export default _default;