Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Tinkering with AddressInput hook/ui #1054

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rin-st
Copy link
Member

@rin-st rin-st commented Feb 24, 2025

Created AddressInput2 component, which is absolutely similary to AddressInput, but

  • all the logic now lives in useAddressInput hook
  • prefix and suffix now UI components
  • since AddressInput2 depends of InputBase, I copied it to InputBase2 component too and moved it's logic to useInputBase.

So, to change UI of AddressInput, user needs to change UI parts of it: components InputBase, AddressInputPrefix and AddressInputSuffix

Update: #1056


In this AddressInput component we already have predefined UI (our current default). I'll create another PR soon with different option

@rin-st
Copy link
Member Author

rin-st commented Feb 24, 2025

Example: #1055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant