Added README.md
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Alert from "./Alert";
|
||||
import Message from "./Message";
|
||||
import Button from "./Button";
|
||||
import ListGroup from "./components/ListGroup";
|
||||
|
||||
function App() {
|
||||
@@ -23,6 +24,12 @@ function App() {
|
||||
onSelectItem={handleSelectItem}
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<Button />
|
||||
</div>
|
||||
<div>
|
||||
<Message />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
const Button = () => {
|
||||
return (
|
||||
<>
|
||||
<button type="button" className="btn btn-primary">
|
||||
Primary
|
||||
</button>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Button;
|
||||
Reference in New Issue
Block a user