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. * Value of the active panel or an array of values in multiple mode.
* @defaultValue null * @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. * When enabled, multiple tabs can be activated at the same time.
* @defaultValue false * @defaultValue false

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -88,7 +88,7 @@ export interface TabsProps {
/** /**
* Value of the active tab. * 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. * When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.
* @defaultValue false * @defaultValue false