1.0.0 • Published 4 years ago
mc-react-test-library v1.0.0
mc-react-test-library
React testing library as an example
Install
npm install --save mc-react-test-library
Usage
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;
License
MIT © xChivalrouSx
1.0.0
4 years ago