Fixed #1836 - For SplitterPanel
parent
6f2c412c28
commit
3b2f00b9eb
|
@ -1,15 +1,42 @@
|
||||||
import { VNode } from 'vue';
|
import { VNode } from 'vue';
|
||||||
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||||
|
|
||||||
interface SplitterPanelProps {
|
export interface SplitterPanelProps {
|
||||||
size?: number;
|
/**
|
||||||
minSize?: number;
|
* Size of the element relative to 100%.
|
||||||
|
*/
|
||||||
|
size?: number | undefined;
|
||||||
|
/**
|
||||||
|
* Minimum size of the element relative to 100%.
|
||||||
|
*/
|
||||||
|
minSize?: number | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class SplitterPanel {
|
export interface SplitterPanelSlots {
|
||||||
$props: SplitterPanelProps;
|
/**
|
||||||
$slots: {
|
* Custom content template.
|
||||||
'': VNode[];
|
*/
|
||||||
|
default: () => VNode[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export declare type SplitterPanelEmits = {
|
||||||
|
}
|
||||||
|
|
||||||
|
declare class SplitterPanel extends ClassComponent<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits> { }
|
||||||
|
|
||||||
|
declare module '@vue/runtime-core' {
|
||||||
|
interface GlobalComponents {
|
||||||
|
SplitterPanel: GlobalComponentConstructor<SplitterPanel>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* SplitterPanel is a helper component for Splitter component.
|
||||||
|
*
|
||||||
|
* Demos:
|
||||||
|
*
|
||||||
|
* - [SplitterPanel](https://www.primefaces.org/primevue/showcase/#/splitter)
|
||||||
|
*
|
||||||
|
*/
|
||||||
export default SplitterPanel;
|
export default SplitterPanel;
|
||||||
|
|
Loading…
Reference in New Issue