primevue-mirror/components/splitterpanel/SplitterPanel.d.ts

42 lines
955 B
TypeScript
Raw Normal View History

2022-09-06 12:03:37 +00:00
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
export interface SplitterPanelProps {
/**
* Size of the element relative to 100%.
*/
size?: number | undefined;
/**
* Minimum size of the element relative to 100%.
*/
minSize?: number | undefined;
}
export interface SplitterPanelSlots {
/**
* Custom content template.
*/
default: () => VNode[];
}
2022-09-14 11:26:01 +00:00
export declare type SplitterPanelEmits = {};
2022-09-06 12:03:37 +00:00
2022-09-14 11:26:01 +00:00
declare class SplitterPanel extends ClassComponent<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits> {}
2022-09-06 12:03:37 +00:00
declare module '@vue/runtime-core' {
interface GlobalComponents {
2022-09-14 11:26:01 +00:00
SplitterPanel: GlobalComponentConstructor<SplitterPanel>;
2022-09-06 12:03:37 +00:00
}
}
/**
*
* SplitterPanel is a helper component for Splitter component.
*
* Demos:
*
2022-09-14 11:26:01 +00:00
* - [SplitterPanel](https://www.primefaces.org/primevue/splitter)
2022-09-06 12:03:37 +00:00
*
*/
export default SplitterPanel;