Added README.md

This commit is contained in:
2024-08-09 22:02:14 +08:00
parent 915d499c18
commit 0a7f889feb
3 changed files with 48 additions and 0 deletions
+7
View File
@@ -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>
</>
);
}
+13
View File
@@ -0,0 +1,13 @@
import React from "react";
const Button = () => {
return (
<>
<button type="button" className="btn btn-primary">
Primary
</button>
</>
);
};
export default Button;