Skip to content

Commit

Permalink
feat: BulletBox component
Browse files Browse the repository at this point in the history
  • Loading branch information
jliermann committed Jan 16, 2025
1 parent 0bbc103 commit fd03994
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/BulletBox.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
function BulletContainer({ children }) {
return <div className="container row">{children}</div>;
}

function BulletBox({ children, secondary }) {
let boxStyle = secondary ? "button--secondary" : "button--primary";

return (
<div
className={"col button button--lg " + boxStyle}
style={{ padding: "0.75em", margin: "0.4em", flexGrow: 1 }}
>
{children}
</div>
);
}

export { BulletContainer, BulletBox };

0 comments on commit fd03994

Please sign in to comment.