@maximka76667/my-react-library
v1.0.3
Published
My first react library test.
Downloads
42
Readme
My React Library
My first react library test.
Description
MyButton component:
- Used this way:
function App() {
return (
<div>
<MyButton onClick={() => alert("Clicked!")} className="custom-button">
click
</MyButton>
</div>
);
}
export default App;- Something between MyButton tags is required (text, other tags and components)
- Could accept the rest of all buttons props
