pull/6256/head
tugcekucukoglu 2024-08-19 16:22:01 +03:00
parent ea5a98daba
commit eac0bfe591
10 changed files with 10 additions and 10 deletions

View File

@ -118,7 +118,7 @@ export interface AccordionProps {
* Value of the active panel or an array of values in multiple mode.
* @defaultValue null
*/
value?: string | string[] | null | undefined;
value?: string | string[] | number | number[] | null | undefined;
/**
* When enabled, multiple tabs can be activated at the same time.
* @defaultValue false

View File

@ -7,7 +7,7 @@ export default {
extends: BaseComponent,
props: {
value: {
type: [String, Array],
type: [String, Number, Array],
default: undefined
},
multiple: {

View File

@ -71,7 +71,7 @@ export interface AccordionPanelProps {
/**
* Unique value of item.
*/
value: string;
value: string | number | undefined;
/**
* Whether the item is disabled.
* @defaultValue false

View File

@ -7,7 +7,7 @@ export default {
extends: BaseComponent,
props: {
value: {
type: String,
type: [String, Number],
default: undefined
},
disabled: {

View File

@ -7,7 +7,7 @@ export default {
extends: BaseComponent,
props: {
value: {
type: String,
type: [String, Number],
default: undefined
},
disabled: {

View File

@ -71,7 +71,7 @@ export interface TabProps {
/**
* Value of tab.
*/
value: string;
value: string | number;
/**
* Whether the tab is disabled.
* @defaultValue false

View File

@ -8,7 +8,7 @@ export default {
props: {
// in Tabs
value: {
type: String,
type: [String, Number],
default: undefined
},
as: {

View File

@ -91,7 +91,7 @@ export interface TabPanelProps {
/**
* Value of tabpanel.
*/
value: string;
value: string | number;
/**
* Use to change the HTML tag of root element.
* @defaultValue DIV

View File

@ -7,7 +7,7 @@ export default {
extends: BaseComponent,
props: {
value: {
type: String,
type: [String, Number],
default: undefined
},
lazy: {

View File

@ -88,7 +88,7 @@ export interface TabsProps {
/**
* Value of the active tab.
*/
value: string;
value: string | number;
/**
* When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.
* @defaultValue false