import { Component } from 'react'; import { ImageSourcePropType } from 'react-native'; import PropTypes from 'prop-types'; import { NOOP } from '../utils/fns'; interface Props { sizeLevel: 0 | 1 | 2 | 3; themeColor: string; offColor: string; disabled: boolean; showHighlight: boolean; selected: boolean; horizontal: boolean; onPress: () => void; title: string; icon: ImageSourcePropType; iconSelected: ImageSourcePropType; iconText: number | string; accessible: boolean; accessibilityLabel: string | number; accessibilityHint: string | number; } interface State { isPressing: boolean; } export default class CircleButton extends Component { static propTypes: { sizeLevel: PropTypes.Requireable; themeColor: PropTypes.Requireable; offColor: PropTypes.Requireable; disabled: PropTypes.Requireable; showHighlight: PropTypes.Requireable; selected: PropTypes.Requireable; horizontal: PropTypes.Requireable; onPress: PropTypes.Requireable<(...args: any[]) => any>; title: PropTypes.Requireable; titleIsTouchable: PropTypes.Requireable; icon: PropTypes.Requireable; iconSelected: PropTypes.Requireable; iconText: PropTypes.Requireable; accessible: PropTypes.Requireable; accessibilityLabel: PropTypes.Requireable; accessibilityHint: PropTypes.Requireable; }; static defaultProps: { sizeLevel: number; themeColor: string; offColor: string; disabled: boolean; showHighlight: boolean; selected: boolean; horizontal: boolean; onPress: typeof NOOP; title: string; titleIsTouchable: boolean; icon: null; iconSelected: null; iconText: string; }; state: { isPressing: boolean; }; onPress: () => void; onPressIn: () => void; onPressOut: () => void; renderTouchableList(): JSX.Element; render(): JSX.Element; } export {};