From 7fc544732e47db1bfb169c9e1589b4793218cc35 Mon Sep 17 00:00:00 2001 From: kenneth Date: Sat, 14 Mar 2026 00:28:21 +0000 Subject: [PATCH] feat(client): add Button.Icon subcomponent 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() {