import React, { useRef } from 'react'; import { ScrollView } from 'react-native'; import { Stepper, Button, Space } from '@xrnjs/ui'; import { StepperRef } from '../interface'; import Card from '_global/Card'; const RefUsage: React.FC = () => { const stepperRef1 = useRef(null); const stepperRef2 = useRef(null); const handleFocus1 = () => { stepperRef1.current?.focus(); }; const handleBlur1 = () => { stepperRef1.current?.blur(); }; const handleFocus2 = () => { stepperRef2.current?.focus(); }; const handleBlur2 = () => { stepperRef2.current?.blur(); }; return ( ); }; export default RefUsage;