@helpwave/hightide
Version:
helpwave's component and theming library
1 lines • 976 B
Source Map (JSON)
{"version":3,"sources":["../../../src/components/icons/Tag.tsx"],"sourcesContent":["import type { ImageProps } from 'next/image'\nimport Image from 'next/image'\n\nexport type TagProps = Omit<ImageProps, 'src'|'alt'>\n\n/**\n * Tag icon from flaticon\n *\n * https://www.flaticon.com/free-icon/price-tag_721550?term=label&page=1&position=8&origin=tag&related_id=721550\n *\n * When using it make attribution\n */\nexport const TagIcon = ({\n className,\n width = 16,\n height = 16,\n ...props\n}: TagProps) => {\n return (\n <Image\n {...props}\n width={width}\n height={height}\n alt=\"\"\n src=\"https://cdn.helpwave.de/icons/label.png\"\n className={className}\n />\n )\n}\n"],"mappings":";AACA,OAAO,WAAW;AAkBd;AAPG,IAAM,UAAU,CAAC;AAAA,EACtB;AAAA,EACA,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,GAAG;AACL,MAAgB;AACd,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MACA,KAAI;AAAA,MACJ,KAAI;AAAA,MACJ;AAAA;AAAA,EACF;AAEJ;","names":[]}