import React from 'react'; import {Text} from 'react-native'; import type {ThemeType} from '@dooboo-ui/theme'; import {dark, light} from '@dooboo-ui/theme'; import {css} from '@emotion/native'; import type {RenderAPI} from '@testing-library/react-native'; import {fireEvent, render} from '@testing-library/react-native'; import {createComponent} from '../../../../test/testUtils'; import {Button} from '../../..'; import {LoadingIndicator} from '../../LoadingIndicator'; import type {Props as ButtonProps} from '..'; let testingLib: RenderAPI; jest.mock('react-native-web-hooks', () => ({ useHover: () => true, })); const Component = ({ props, themeType, }: { props?: ButtonProps; themeType?: ThemeType; }): JSX.Element => createComponent(