DEV Community

Discussion on: Testing a Semantic UI React Input with React Testing Library

Collapse
 
instinct profile image
Instinct

Nice Article!

I have like many imports from 'semantic-ui-react'.

import { Modal, ModalHeader, ModalContent, ModalActions, Button } from 'semantic-ui-react';
Enter fullscreen mode Exit fullscreen mode

Do I have to write functions for all of them?
Is there an easier way to do this?