react-native-modern-elements
Version:
A modern, customizable UI component library for React Native
17 lines (16 loc) • 530 B
TypeScript
import React from "react";
import { StyleProp, TextStyle, ViewStyle } from "react-native";
interface SwitchProps {
value?: boolean;
onValueChange?: (value: boolean) => void;
disabled?: boolean;
activeText?: string;
inActiveText?: string;
activeColor?: string;
inactiveColor?: string;
switchContainers?: StyleProp<ViewStyle>;
switchTexts?: StyleProp<TextStyle>;
switchCircle?: StyleProp<ViewStyle>;
}
declare const _default: React.NamedExoticComponent<SwitchProps>;
export default _default;