UNPKG

@deep-foundation/deepcase

Version:

[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/deep-foundation/deepcase) [![Discord](https://badgen.net/badge/icon/discord?icon=discord&label&color=purple)](https://discord.gg/deep-

8 lines 658 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Tag, TagLabel, TagLeftIcon } from '@chakra-ui/react'; import React from 'react'; import { TbAtom } from 'react-icons/tb'; export const TagLink = React.memo(({ size = 'sm', borderRadius = 'full', version, hrefSpace = '/', leftIcon = TbAtom, onClick, colorScheme = 'blue' }) => { return (_jsx("a", { href: hrefSpace, onClick: onClick, children: _jsxs(Tag, { size: size, variant: 'subtle', colorScheme: colorScheme, borderRadius: borderRadius, children: [_jsx(TagLeftIcon, { as: leftIcon }), _jsx(TagLabel, { children: version })] }) })); }); //# sourceMappingURL=tag-component.js.map