From ec083c3c77fefa93bfc204e18da3ade36c33b7ec Mon Sep 17 00:00:00 2001 From: Kenneth Date: Sat, 14 Mar 2026 00:39:59 +0000 Subject: [PATCH] feat(client): add Button.Icon subcomponent (#70) Introduce Button.Icon to enforce consistent icon styling (size, theme-aware color) instead of hardcoding Feather props at each call site. Update showcase and json-render registry to use it. Co-authored-by: Ona --- .../src/components/ui/button.showcase.tsx | 9 ++++----- apps/aelis-client/src/components/ui/button.tsx | 15 ++++++++++++++- apps/aelis-client/src/json-render/registry.tsx | 10 +++------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/apps/aelis-client/src/components/ui/button.showcase.tsx b/apps/aelis-client/src/components/ui/button.showcase.tsx index de21a2f..d4fe563 100644 --- a/apps/aelis-client/src/components/ui/button.showcase.tsx +++ b/apps/aelis-client/src/components/ui/button.showcase.tsx @@ -1,4 +1,3 @@ -import Feather from "@expo/vector-icons/Feather" import { View } from "react-native" import tw from "twrnc" @@ -15,22 +14,22 @@ function ButtonShowcase() {