React testing library as an example
npm install --save mc-react-test-library
import { Button } from "mc-react-test-library";
import React from "react";
const App = () => {
return (
<Button
text="Click Me!..."
type="hacker"
buttonAttributes={{
onClick: () => {
alert("clicked...");
},
}}
/>
);
};
export default App;
MIT © xChivalrouSx