import React from 'react'; import { SvgProps } from 'react-native-svg'; import { SwitchProps } from '@hyperOS/components/switch/interface'; import { SubtitleGroupProps } from '@hyperOS/components/subtitleGroup'; import type { AccessibilityPropsType } from '../../../utils/accessibility-helper'; import type { ColorType } from '../../styles/Styles'; export interface LargeListToggleProps { title: string; subtitle?: string | React.ReactElement; checked?: boolean; disabled?: boolean; onPress?: () => void; onChange: (val: boolean) => void; colorType?: ColorType; accessibilitySubtitle?: AccessibilityPropsType; accessibilityTitle?: AccessibilityPropsType; switchOption?: SwitchProps; leadingIcon?: React.ReactElement; } export interface MediumListToggleProps extends AccessibilityPropsType { title: string; subtitle?: string; icon?: React.ReactElement; checked?: boolean; disabled?: boolean; onPress?: () => void; onChange: (val: boolean) => void; colorType?: ColorType; switchOption?: SwitchProps; size?: 'small' | 'medium'; accessibilityTitle?: AccessibilityPropsType; } export interface SmallGridToggleProps extends AccessibilityPropsType { title: string; checked?: boolean; disabled?: boolean; onChange: (val: boolean) => void; colorType?: ColorType; switchOption?: SwitchProps; icon?: React.ReactElement; onPress?: () => void; flexBasis?: string; flexShrink?: number; flexGrow?: number; accessibilityTitle?: AccessibilityPropsType; }