Fixed #1836 - For TabPanel
parent
7755627c4c
commit
6d7d5a4d3a
|
@ -1,15 +1,42 @@
|
||||||
import { VNode } from 'vue';
|
import { VNode } from 'vue';
|
||||||
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
interface TabPanelProps {
|
export interface TabPanelProps {
|
||||||
header?: any;
|
/**
|
||||||
disabled?: boolean;
|
* Orientation of tab headers.
|
||||||
|
*/
|
||||||
|
header?: string | undefined;
|
||||||
|
/**
|
||||||
|
* Whether the tab is disabled.
|
||||||
|
*/
|
||||||
|
disabled?: boolean | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class TabPanel {
|
export interface TabPanelSlots {
|
||||||
$props: TabPanelProps;
|
/**
|
||||||
$slots: {
|
* Custom content template.
|
||||||
'': VNode[];
|
*/
|
||||||
|
default: () => VNode[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export declare type TabPanelEmits = {
|
||||||
|
}
|
||||||
|
|
||||||
|
declare class TabPanel extends ClassComponent<TabPanelProps, TabPanelSlots, TabPanelEmits> { }
|
||||||
|
|
||||||
|
declare module '@vue/runtime-core' {
|
||||||
|
interface GlobalComponents {
|
||||||
|
TabPanel: GlobalComponentConstructor<TabPanel>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* TabPanel is a helper component for TabView component.
|
||||||
|
*
|
||||||
|
* Demos:
|
||||||
|
*
|
||||||
|
* - [TabPanel](https://www.primefaces.org/primevue/showcase/#/tabpanel)
|
||||||
|
*
|
||||||
|
*/
|
||||||
export default TabPanel;
|
export default TabPanel;
|
||||||
|
|
Loading…
Reference in New Issue