extend Step components props
parent
48f1ff85b9
commit
56d9bc1c0a
|
@ -19,7 +19,7 @@ export default {
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
as: {
|
as: {
|
||||||
type: String,
|
type: [String, Object],
|
||||||
default: 'DIV'
|
default: 'DIV'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core';
|
import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core';
|
||||||
import type { ComponentHooks } from '@primevue/core/basecomponent';
|
import type { ComponentHooks } from '@primevue/core/basecomponent';
|
||||||
import type { PassThroughOptions } from 'primevue/passthrough';
|
import type { PassThroughOptions } from 'primevue/passthrough';
|
||||||
import { VNode } from 'vue';
|
import type { Component, VNode } from 'vue';
|
||||||
|
|
||||||
export declare type StepPassThroughOptionType = StepPassThroughAttributes | ((options: StepPassThroughMethodOptions) => StepPassThroughAttributes | string) | string | null | undefined;
|
export declare type StepPassThroughOptionType = StepPassThroughAttributes | ((options: StepPassThroughMethodOptions) => StepPassThroughAttributes | string) | string | null | undefined;
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ export interface StepProps {
|
||||||
* Use to change the HTML tag of root element.
|
* Use to change the HTML tag of root element.
|
||||||
* @defaultValue BUTTON
|
* @defaultValue BUTTON
|
||||||
*/
|
*/
|
||||||
as?: string | undefined;
|
as?: string | Component | undefined;
|
||||||
/**
|
/**
|
||||||
* When enabled, it changes the default rendered element for the one passed as a child element.
|
* When enabled, it changes the default rendered element for the one passed as a child element.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
|
|
@ -15,7 +15,7 @@ export default {
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
as: {
|
as: {
|
||||||
type: String,
|
type: [String, Object],
|
||||||
default: 'DIV'
|
default: 'DIV'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core';
|
import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core';
|
||||||
import type { ComponentHooks } from '@primevue/core/basecomponent';
|
import type { ComponentHooks } from '@primevue/core/basecomponent';
|
||||||
import type { PassThroughOptions } from 'primevue/passthrough';
|
import type { PassThroughOptions } from 'primevue/passthrough';
|
||||||
import { VNode } from 'vue';
|
import type { Component, VNode } from 'vue';
|
||||||
|
|
||||||
export declare type StepPanelPassThroughOptionType = StepPanelPassThroughAttributes | ((options: StepPanelPassThroughMethodOptions) => StepPanelPassThroughAttributes | string) | string | null | undefined;
|
export declare type StepPanelPassThroughOptionType = StepPanelPassThroughAttributes | ((options: StepPanelPassThroughMethodOptions) => StepPanelPassThroughAttributes | string) | string | null | undefined;
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ export interface StepPanelProps {
|
||||||
* Use to change the HTML tag of root element.
|
* Use to change the HTML tag of root element.
|
||||||
* @defaultValue BUTTON
|
* @defaultValue BUTTON
|
||||||
*/
|
*/
|
||||||
as?: string | undefined;
|
as?: string | Component | undefined;
|
||||||
/**
|
/**
|
||||||
* When enabled, it changes the default rendered element for the one passed as a child element.
|
* When enabled, it changes the default rendered element for the one passed as a child element.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
|
|
Loading…
Reference in New Issue