c-tabcomponent

0.1.2 • Public • Published

c-tabcomponent

Tab component under the standards of Unify Design System.

Project setup

npm i c-tabcomponent or yarn add c-tabcomponent

Usage example

import ctabcomponent from 'c-tabcomponent/src/components/c-tabcomponent.vue'

<ctabcomponent :tabContents="[{item:'first',content:'This is First Tab'},{item:'second',content:'This is Second Tab'},{item:'third',content:'This is Third Tab'}]" :active=0 />

Props

Name Definiton Values Type Default
tabContents Sets tab names and it's contents "[{item:'first',content:'This is First Tab'},{item:'second',content:'This is Second Tab'},{item:'third',content:'This is Third Tab'}]" Array Nill
active Sets a tab to active state 0 Number Nill

Readme

Keywords

Package Sidebar

Install

npm i c-tabcomponent

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

15 kB

Total Files

15

Last publish

Collaborators

  • manjunathb