@cross-nft-marketplace/auction-house-nft-components
Version:
NFT Media Rendering Components
26 lines (25 loc) • 740 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Orb = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const css_1 = require("@emotion/css");
const DEFAULT_ORB_BACKGROUND_GRADIENT = `radial-gradient(
75.29% 75.29% at 64.96% 24.36%,
#dcc8d0 15.62%,
#78c8cf 30.21%,
#4d959e 42.71%,
#305eb9 55.73%,
#311f12 79.69%,
#684232 90.62%,
#2d1c13 100%
);`;
const Orb = ({ size = '100%', }) => {
return ((0, jsx_runtime_1.jsx)("div", { className: (0, css_1.css) `
display: block;
height: ${size};
width: ${size};
background: ${DEFAULT_ORB_BACKGROUND_GRADIENT};
border-radius: 1500px;
` }));
};
exports.Orb = Orb;