@untitledui/file-icons
Version:
Official React library for Untitled UI File Icons
2 lines (1 loc) • 1.64 kB
JavaScript
"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 t = _interopRequireWildcard(_react);const l=({size:i=40,theme:s="light",...h})=>t.createElement("svg",{width:i,height:i,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...h},t.createElement("mask",{id:"txt_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},t.createElement("path",{fill:"url(#txt_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),t.createElement("g",{mask:"url(#txt_svg__b)"},t.createElement("path",{fill:s==="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"})),t.createElement("path",{fill:s==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),t.createElement("path",{fill:s==="light"?"#414651":"#CECFD2",d:"M11.091 26.596v-1.142h5.376v1.142h-2.004V32h-1.368v-5.404zm7.559-1.142 1.32 2.231h.05l1.327-2.23h1.563l-1.997 3.272L22.955 32h-1.592l-1.342-2.234h-.051L18.627 32h-1.585l2.049-3.273-2.01-3.273zm4.886 1.142v-1.142h5.376v1.142h-2.004V32H25.54v-5.404z"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"txt_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopOpacity:.4}),t.createElement("stop",{offset:1}))));l.displayName="Txt";exports.Txt = l;