@stratio/egeo
Version:
41 lines (28 loc) • 987 B
Markdown
The vertical icon tabs component has been designed to display content in different sections.
| Property | Type | Req | Description | Default |
| ------------ | ----------- | ----- | ------------- | ------- |
| activeOption | StIconTab | False | Active option | |
| options | StIconTab[] | False | Option list | |
| Property | Type | Description |
| ------------ | --------- | ------------------------------------------- |
| changeOption | StIconTab | Event emitted when user clicks on an option |
```html
<st-vertical-icon-tabs class="vertical-icon-tabs"
[]="options"
[]="active"
(changeOption)="onChangeOption($event)">
</st-vertical-icon-tabs>
```
*Icon tab* (StIconTab)
```typescript
export interface StIconTab {
id: string;
text: string;
iconClass: string;
}
```