0.1.2 • Published 5 months ago
react-alert-buttom v0.1.2
React Alert Button
- install the published component from npm using the following command in your project directory.
npm install react-alert-buttom
- import and use your component
import { AlertBox } from 'react-alert-buttom';
const App = () =>{ return(
<div>
<AlertBox label={'Submit'}/>
</div>
)
}
- Save the file and run your React application. The published component should now be rendered within your app.