@wooweb/link

1.4.2 • Public • Published

Wooweb Link Pug Component

Source

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}

Package Sidebar

Install

npm i @wooweb/link

Weekly Downloads

1

Version

1.4.2

License

MIT

Unpacked Size

4.33 kB

Total Files

5

Last publish

Collaborators

  • samuel-gomez