mirror of
https://github.com/luxwallet/ui.git
synced 2026-10-30 19:47:51 +00:00
pnpm build (tsc -p tsconfig.build.json, excludes the ambient shim) failed with
5 TS2322 errors: the scaffold used props that do not exist on the real Tamagui
fork, and the permissive types/hanzo-gui.d.ts shim hid this from pnpm typecheck.
- Input: editable -> disabled, keyboardType=decimal-pad -> inputMode=decimal
(web-first fork omits the RN-only props).
- Card: bordered -> borderWidth={1} (no bordered variant; borderColor already set).
- ListItem: pressTheme/hoverTheme booleans -> real pressStyle/hoverStyle pseudo
props (applied only when onPress is set).
- WalletUIProvider.guiConfig: unknown -> GuiInternalConfig (real type of
GuiProviderProps.config).
- Sync the offline shim (inputMode, pressStyle/hoverStyle, GuiInternalConfig) so
pnpm typecheck stays green too.
Both pnpm build and pnpm typecheck now pass; dist/types emits clean.