0.7.2-alpha.1 • Published 2 months ago

@us3r-network/link v0.7.2-alpha.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

@us3r-network/link

We created a data model about user link based on ceramic, and provided crud SDK for the model, and commonly used react components related to link

License npm version npm downloads

Install

npm install @us3r-network/auth-with-rainbowkit @us3r-network/profile @us3r-network/link

@us3r-network/auth-with-rainbowkit and @us3r-network/profile are peerDependencies of @us3r-network/link.

Usage

You need to wrap your application with Us3rAuthWithRainbowkitProvider,ProfileStateProvider and LinkStateProvider first.

import { PropsWithChildren } from "react";
import { Us3rAuthWithRainbowkitProvider } from "@us3r-network/auth-with-rainbowkit";
import { ProfileStateProvider } from "@us3r-network/profile";
import { LinkStateProvider } from "@us3r-network/link";
import { CERAMIC_HOST } from "./constants";

export default function App({ children }: PropsWithChildren) {
  return (
    <Us3rAuthWithRainbowkitProvider>
      <ProfileStateProvider ceramicHost={CERAMIC_HOST}>
        <LinkStateProvider ceramicHost={CERAMIC_HOST}>
          {children}
        </LinkStateProvider>
      </ProfileStateProvider>
    </Us3rAuthWithRainbowkitProvider>
  );
}

Then you can start using our components. For more information, please refer to our component documentation storybook.

0.7.2-alpha.1

2 months ago

0.7.1-alpha.0

4 months ago

0.7.0

5 months ago

0.3.0-alpha.2

5 months ago

0.3.0-alpha.0

5 months ago

0.3.0-alpha.1

5 months ago

0.2.3

10 months ago

0.2.2

10 months ago

0.2.5

6 months ago

0.2.4

8 months ago

0.2.1

11 months ago

0.2.0

11 months ago

0.1.15

11 months ago

0.1.14

11 months ago

0.1.13

11 months ago

0.1.12

12 months ago

0.1.11

12 months ago

0.1.10

12 months ago

0.1.9

12 months ago

0.1.8

12 months ago

0.1.7

12 months ago

0.1.6

12 months ago

0.1.5

12 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago