From 896c81239009d473bdf6b9fa8359b693b954114c Mon Sep 17 00:00:00 2001 From: baslani Date: Sat, 18 Apr 2026 10:54:27 +0330 Subject: [PATCH] created a placeholder PrimaryButton --- src/components/ComponentsConteiner.tsx | 4 +++- src/components/buttons/PrimaryButton.tsx | 17 ++++++++++++----- src/styles/globals.css | 2 +- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/components/ComponentsConteiner.tsx b/src/components/ComponentsConteiner.tsx index a472a6b..d7f5443 100644 --- a/src/components/ComponentsConteiner.tsx +++ b/src/components/ComponentsConteiner.tsx @@ -3,6 +3,7 @@ import { useState } from "react"; import PrimaryButton from "./buttons/PrimaryButton"; import ThemeToggle from "./UI/ThemeToggle"; +import { Home } from "lucide-react"; export default function ComponentsConteiner() { const [isLoading, setIsloading] = useState(false); @@ -17,7 +18,8 @@ export default function ComponentsConteiner() {
dummyLoading()} loading={isLoading}> -

test text

+ +

test icon

diff --git a/src/components/buttons/PrimaryButton.tsx b/src/components/buttons/PrimaryButton.tsx index ae555aa..a32f116 100644 --- a/src/components/buttons/PrimaryButton.tsx +++ b/src/components/buttons/PrimaryButton.tsx @@ -14,7 +14,7 @@ export default function PrimaryButton({ children, loading, className, onClick }: