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

69 lines
1.5 KiB
TypeScript
Raw Normal View History

2023-02-28 21:23:26 +00:00
/**
*
* SplitterPanel is a helper component for Splitter component.
*
* [Live Demo](https://www.primevue.org/splitter/)
*
* @module splitterpanel
*
*/
2022-09-06 12:03:37 +00:00
import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2023-02-28 21:23:26 +00:00
/**
* Defines valid properties in SplitterPanel component.
*/
2022-09-06 12:03:37 +00:00
export interface SplitterPanelProps {
/**
* Size of the element relative to 100%.
*/
size?: number | undefined;
/**
* Minimum size of the element relative to 100%.
*/
minSize?: number | undefined;
}
2023-02-28 21:23:26 +00:00
/**
* Defines valid slots in SplitterPanel slots.
*/
2022-09-06 12:03:37 +00:00
export interface SplitterPanelSlots {
/**
* Custom content template.
*/
default: () => VNode[];
}
2023-02-28 21:23:26 +00:00
export interface SplitterPanelEmits {}
2022-09-06 12:03:37 +00:00
2023-02-28 21:23:26 +00:00
/**
* **PrimeVue - SplitterPanel**
*
* _SplitterPanel is a helper component for Splitter component._
*
* [Live Demo](https://www.primevue.org/splitterpanel/)
* --- ---
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg)
*
* @group Component
*
*/
export 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;