-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from frappe/tabs-component-fix
- Loading branch information
Showing
2 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Props | ||
|
||
### Tabs | ||
|
||
It is an array of objects which contains the following attributes: | ||
|
||
1. `label` is the name of the tab, it is required. | ||
2. `icon` is the icon to be shown in the tab, it accept component and it is | ||
optional. | ||
3. You can add more attributes which can be used for custom rendering in the tab | ||
header or content. | ||
|
||
### Options | ||
|
||
Currently, it has only one option `indicatorLeft` which is used to set the left | ||
position of the indicator in case of custom rendering. It is optional and | ||
default value is `20`. | ||
|
||
## v-model | ||
|
||
It is used to set the active tab or change the active tab. It is required. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters