Button exercise: testing component via boostrap

main
Gerardo Marx 2 weeks ago
parent f2639f4fc8
commit 339e914e82

@ -1,10 +1,11 @@
import Alert from "./components/Alert"; import { Button } from "./components/Button";
function App() { function App() {
return ( return (
<div> <div>
<Alert>Hello <strong>Marx</strong></Alert> <Button/>
</div> </div>
); );
} }

@ -0,0 +1,6 @@
export const Button = () => {
return (
<button type="button" className="btn btn-primary">Primary</button>
)
}
Loading…
Cancel
Save