Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
Add minTimestamp to Send Transaction Button story
Browse files Browse the repository at this point in the history
  • Loading branch information
luckysori committed May 15, 2019
1 parent 1688458 commit 30ca494
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions stories/Web3SendTransactionButton.tsx
Expand Up @@ -3,12 +3,17 @@ import React from "react";
import { Web3Provider } from "../src/components/Web3Context";
import Web3SendTransactionButton from "../src/components/Web3SendTransactionButton";

storiesOf("Web3SendTransactionButton", module)
.add("send amount to address", () => (
storiesOf("Web3SendTransactionButton", module).add(
"send amount to address",
() => (
<Web3Provider>
<Web3SendTransactionButton transaction={{
to: "0x00a329c0648769a73afac7f9381e08fb43dbea72",
value: "10000000000000"
}}/>
<Web3SendTransactionButton
transaction={{
to: "0x00a329c0648769a73afac7f9381e08fb43dbea72",
value: "10000000000000"
}}
minTimestamp={1557915959}
/>
</Web3Provider>
));
)
);

0 comments on commit 30ca494

Please sign in to comment.