Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chainfuse/ui

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainfuse/ui - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

4

dist/cjs/components/TokenDrop.d.ts

@@ -5,3 +5,7 @@ /// <reference types="react" />

supply: number;
price: number;
logoUrl: string;
token_drop_name: string;
token_drop_description: string;
}
export default TokenDrop;

@@ -8,6 +8,13 @@ "use strict";

return (react_1["default"].createElement(material_1.Card, { sx: { maxWidth: 400, minWidth: 300 } },
"Hello ",
props.supply));
react_1["default"].createElement(material_1.CardActionArea, { disabled: true },
react_1["default"].createElement(material_1.CardMedia, { component: "img", style: { objectFit: "contain", padding: 10 }, height: 180, image: props.logoUrl || "https://via.placeholder.com/1200x400", alt: "".concat(props.token_drop_name) }),
react_1["default"].createElement(material_1.CardContent, null,
react_1["default"].createElement(material_1.Typography, { gutterBottom: true, variant: "h5", component: "div" }, props.token_drop_name || "Token name"),
react_1["default"].createElement(material_1.Typography, { variant: "body2", color: "text.secondary" }, props.token_drop_description || "Token description"))),
react_1["default"].createElement(material_1.CardActions, null,
react_1["default"].createElement(material_1.Button, { disabled: !props.supply || !props.price, variant: "contained", size: "small", color: "primary", fullWidth: true },
"Mint ", "1/".concat(props.supply || 0),
" ", "@ ".concat(props.price || 0, " ETH")))));
};
exports["default"] = TokenDrop;
//# sourceMappingURL=TokenDrop.js.map

@@ -5,3 +5,7 @@ /// <reference types="react" />

supply: number;
price: number;
logoUrl: string;
token_drop_name: string;
token_drop_description: string;
}
export default TokenDrop;

13

dist/esm/components/TokenDrop.js

@@ -1,9 +0,16 @@

import { Card } from "@mui/material";
import { Button, Card, CardActionArea, CardActions, CardContent, CardMedia, Typography, } from "@mui/material";
import React from "react";
var TokenDrop = function (props) {
return (React.createElement(Card, { sx: { maxWidth: 400, minWidth: 300 } },
"Hello ",
props.supply));
React.createElement(CardActionArea, { disabled: true },
React.createElement(CardMedia, { component: "img", style: { objectFit: "contain", padding: 10 }, height: 180, image: props.logoUrl || "https://via.placeholder.com/1200x400", alt: "".concat(props.token_drop_name) }),
React.createElement(CardContent, null,
React.createElement(Typography, { gutterBottom: true, variant: "h5", component: "div" }, props.token_drop_name || "Token name"),
React.createElement(Typography, { variant: "body2", color: "text.secondary" }, props.token_drop_description || "Token description"))),
React.createElement(CardActions, null,
React.createElement(Button, { disabled: !props.supply || !props.price, variant: "contained", size: "small", color: "primary", fullWidth: true },
"Mint ", "1/".concat(props.supply || 0),
" ", "@ ".concat(props.price || 0, " ETH")))));
};
export default TokenDrop;
//# sourceMappingURL=TokenDrop.js.map
{
"name": "@chainfuse/ui",
"version": "0.0.13",
"version": "0.0.14",
"packageManager": "yarn@4.0.0-rc.12",

@@ -5,0 +5,0 @@ "description": "UI components for ChainFuse.io",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc