1.0.0 • Published 6 years ago
company-alert-component v1.0.0
Alert compnonent
npm install company-alert-component
import React from 'react';
import ReactDOM from 'react-dom';
import Alert from './src/alert';
const App = () => (
<div className="App">
<h1 className="App-Title">Hello Parcel x React</h1>
<Alert color="danger">Hello world</Alert>
<Alert color="success">Hello world</Alert>
<Alert color="warning">Hello world</Alert>
<Alert color="info">Hello world</Alert>
</div>
);
ReactDOM.render(<App />, document.getElementById('root'));
1.0.0
6 years ago