UNPKG

@untitledui/file-icons

Version:

Official React library for Untitled UI File Icons

2 lines (1 loc) 1.6 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 i = _interopRequireWildcard(_react);const a=({size:h=40,theme:s="light",...t})=>i.createElement("svg",{width:h,height:h,fill:"none",viewBox:"0 0 40 40","aria-hidden":"true",...t},i.createElement("mask",{id:"tiff_svg__b",width:32,height:40,x:4,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},i.createElement("path",{fill:"url(#tiff_svg__a)",d:"M4 4a4 4 0 0 1 4-4h16l12 12v24a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z"})),i.createElement("g",{mask:"url(#tiff_svg__b)"},i.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"})),i.createElement("path",{fill:s==="light"?"#E9EAEB":"#373A41",d:"m24 0 12 12h-8a4 4 0 0 1-4-4z"}),i.createElement("path",{fill:s==="light"?"#414651":"#CECFD2",d:"M10.788 26.596v-1.142h5.376v1.142H14.16V32h-1.368v-5.404zm7.645-1.142V32h-1.384v-6.546zM19.57 32v-6.546h4.334v1.142h-2.95v1.56h2.663v1.14h-2.663V32zm5.265 0v-6.546h4.334v1.142h-2.95v1.56h2.662v1.14H26.22V32z"}),i.createElement("defs",null,i.createElement("linearGradient",{id:"tiff_svg__a",x1:20,x2:20,y1:0,y2:40,gradientUnits:"userSpaceOnUse"},i.createElement("stop",{stopOpacity:.4}),i.createElement("stop",{offset:1}))));a.displayName="Tiff";exports.Tiff = a;