@chainfuse/ui
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -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; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14941
121