All files / src/components/views/Nfts NftDetails.stories.tsx

0% Statements 0/4
100% Branches 0/0
0% Functions 0/2
0% Lines 0/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27                                                     
import React from "react";
import { BrowserRouter } from "react-router-dom";
import { storiesOf } from "@storybook/react";
import { IdentityThemeProvider } from "../../../themes/IdentityTheme";
import { NftDetails } from "./NftDetails";
 
const details = `
Head: Brushed Titanium
Eyes: Two, Unique
Nose: Moon Rock, Radioactive Speckle Mouth: Missing Bust: Brushed Titanium Backdrop: Black Series: Second Coming (02) #: 08 Contract Address: 0xe03e4721c75188de6dd9ccf4fc0eb7c81399e305 Token ID: 11
`;
 
storiesOf("Nfts", module)
  .addDecorator((story) => <IdentityThemeProvider>{story()}</IdentityThemeProvider>)
  .add("List view", () => (
    <BrowserRouter>
      <NftDetails
        name={"cosmic#boy"}
        imgUrl={
          "https://lh3.googleusercontent.com/jSLi5Y2BlATTysi3-21H6cNni1hzGWjihP1ZcN6NNyurud2JCGzKWooZioagDTdCvD1uekR8NRAT9_0YOa0kWQQP4zNbglgphPgW=s992"
        }
        details={details}
        domains={["supercool.com"]}
      />
    </BrowserRouter>
  ));