* feat: v2 wallet * feat: Web3Wallet sign integration * chore: adds `core` to package.json * feat: Web3Wallet Auth integration * chore: core & web3wallet canary * chore: rm config * chore: force redeploy * chore: rm core & sign-client deps * fix: rm `sign-client` usage * refactor: updates README * feat: adds metadata mock obj & removes relay url param * refactor: more url mentions * refactor: rm v2 wallet readme references & uses web3wallet.core... * refactor: wallet -> web3wallet * refactor: rm wallet to web3wallet * fix: adds async to example listeners
29 lines
514 B
TypeScript
29 lines
514 B
TypeScript
import { Col, Row, Text } from '@nextui-org/react'
|
|
import { CodeBlock, codepen } from 'react-code-blocks'
|
|
|
|
/**
|
|
* Types
|
|
*/
|
|
interface IProps {
|
|
data: Record<string, unknown>
|
|
}
|
|
|
|
/**
|
|
* Component
|
|
*/
|
|
export default function RequestDataCard({ data }: IProps) {
|
|
return (
|
|
<Row>
|
|
<Col>
|
|
<Text h5>Data</Text>
|
|
<CodeBlock
|
|
showLineNumbers={false}
|
|
text={JSON.stringify(data, null, 2)}
|
|
theme={codepen}
|
|
language="json"
|
|
/>
|
|
</Col>
|
|
</Row>
|
|
)
|
|
}
|