v-ingredients
Version:
Reusable Components
46 lines (31 loc) • 537 B
Markdown
# Checkbox
## Props
Przekazujemy jako props 'labels' obiekt 'labels', który jest intefejsem.
Przykład -
```javascript
<Tabs :labels="labels">
</Tabs>
labels:[
{
title:'Tab 1',
id:'id-1',
content:'some text',
active:true
}
]
```
## Implemented Components
* [Box](../Box/README.md)
## Interface
```typescript
LabelsInterface {
title: TTabsLabelsTitle
id: string
content: string
active: boolean
}
```
## Types
```typescript
TTabsLabelsTitle = string | number;
```