blockful-io / external-resolver-dapp

https://external-resolver-dapp.vercel.app
2 stars 2 forks source link

feat: create DatabaseCTA component #173

Open FrancoAguzzi opened 2 months ago

FrancoAguzzi commented 2 months ago

Feature Request

Describe the Feature Request

The idea of this component is similar to the BlockchainCTA idea: having a CTA that handles its UI statuses internally, based on an external function call (a function that is passed via props to this component) state.

Describe Preferred Solution

The preferred solution is to understand how this signature / API call works for /external-resolver-dapp/components/02-molecules/registration/NameRegisteredAwaitingRecordsSettingComponent.tsx

I assume this does similar request and, if so, let's reuse BlockchainCTA in this user-flow as well.

Alternative solution

Please review carefully the BlockchainCTA implementation to create a new component, if needed.

Related Code

/external-resolver-dapp/components/02-molecules/registration/NameRegisteredAwaitingRecordsSettingComponent.tsx /external-resolver-dapp/components/01-atoms/BlockchainCTA.tsx

Additional Context

Figma designs