mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-15 07:01:56 +00:00
Refactor inventory functionality and improve modularity.
Relocated inventory page to features directory and renamed it for clarity. Introduced a reusable `Button` component and replaced inline buttons across components. Added type definitions for inventory items and environment variable support for API URL configuration.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import {PropsWithChildren} from "react";
|
||||
|
||||
function Button({children}: PropsWithChildren) {
|
||||
return (
|
||||
<button className="bg-brand rounded text-white font-bold px-4 py-2">{children}</button>
|
||||
)
|
||||
}
|
||||
|
||||
export default Button
|
||||
Reference in New Issue
Block a user