Comment

Comment by ggregoire

Or make a Button component in your framework of choice.

    function Button = ({ children }) => <button className={80 tailwind classes here}>{children}</button>

    <Button>Create</Button>
    <Button>Edit</Button> // Same style
    <Button>Delete</Button> // Same style
parent ggregoire 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton