mixin Link({ className='link', label, icon='', target="_self", modifier='', js=false, href })
-const classComponent = setClass(className, modifier, js)
a(class=classComponent target=target href=href)
if(icon !== '')
+Icon({ id:icon, className:`${prefix}-${className}__icon` })
span(class=`${prefix}-${className}__text`) #{label}
@wooweb/link
1.4.2 • Public • PublishedPackage Sidebar
Install
npm i @wooweb/link
Repository
Weekly Downloads
1
Version
1.4.2
License
MIT
Unpacked Size
4.33 kB
Total Files
5