mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Styles imported. Components added
This commit is contained in:
parent
3cb3910561
commit
8264983db4
452 changed files with 55902 additions and 0 deletions
46
components/tabpanel/TabPanel.d.ts
vendored
Executable file
46
components/tabpanel/TabPanel.d.ts
vendored
Executable file
|
@ -0,0 +1,46 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
export interface TabPanelProps {
|
||||
/**
|
||||
* Orientation of tab headers.
|
||||
*/
|
||||
header?: string | undefined;
|
||||
/**
|
||||
* Whether the tab is disabled.
|
||||
*/
|
||||
disabled?: boolean | undefined;
|
||||
}
|
||||
|
||||
export interface TabPanelSlots {
|
||||
/**
|
||||
* Custom content template.
|
||||
*/
|
||||
default: () => VNode[];
|
||||
/**
|
||||
* Custom header template.
|
||||
*/
|
||||
header: () => 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;
|
Loading…
Add table
Add a link
Reference in a new issue