@nimi.io/card
TypeScript icon, indicating that this package has built-in type declarations

0.9.0-beta.1 • Public • Published

Nimi Card App

Nimi Card App codebase. Exports a React component that takes an Nimi profile, and generates a Nimi Card.

Usage

Import the CardApp component that provides the essential wrappers for the Nimi Card to function.

// app.tsx
import {  CardApp, Nimi } from '@nimi.io/card'

export function App() {
  const nimi: NimiCard = {
    displayName: 'nimi.eth',
    ensName: 'nimi.eth',
    ensAddress: '0x0.....';
    links: [],
    addresses: [],
    widgets: []
  }

  return <CardApp nimi={nimi} />;
}

Development

Setup

Clone

git clone https://github.com/nimi-app/card nimi-card
cd nimi-card

Install dependencies

npm i

Start

To start the app:

npm run start

Readme

Keywords

none

Package Sidebar

Install

npm i @nimi.io/card

Weekly Downloads

25

Version

0.9.0-beta.1

License

none

Unpacked Size

10.5 MB

Total Files

227

Last publish

Collaborators

  • violet1969
  • adamazad