UNPKG

@untitledui/file-icons

Version:

Official React library for Untitled UI File Icons

2 lines (1 loc) 1.68 kB
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _react = require('react'); var l = _interopRequireWildcard(_react);const a=({size:s=40,theme:h="light",...i})=>l.createElement("svg",{width:s,height:s,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...i},l.createElement("mask",{id:"xml_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},l.createElement("path",{fill:"url(#xml_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),l.createElement("g",{mask:"url(#xml_svg__b)"},l.createElement("path",{fill:h==="light"?"#F5F5F5":"#22262F",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),l.createElement("path",{fill:h==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),l.createElement("path",{fill:h==="light"?"#414651":"#CECFD2",d:"m11.979 25.455 1.32 2.23h.05l1.327-2.23h1.563l-1.997 3.272L16.284 32h-1.592l-1.342-2.234h-.051L11.956 32h-1.585l2.049-3.273-2.01-3.273zm5.136 0h1.707l1.802 4.397h.077l1.802-4.398h1.707V32h-1.342v-4.26h-.055l-1.694 4.228h-.914l-1.693-4.244h-.055V32h-1.342zM25.35 32v-6.546h1.384v5.405h2.806V32z"}),l.createElement("defs",null,l.createElement("linearGradient",{id:"xml_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopOpacity:.4}),l.createElement("stop",{offset:1}))));a.displayName="Xml";exports.Xml = a;